MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
cosinefilter.h
Go to the documentation of this file.
1//=============================================================================================================
36#ifndef COSINEFILTER_H
37#define COSINEFILTER_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "../rtprocessing_global.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53#include <Eigen/Core>
54
55//=============================================================================================================
56// DEFINE NAMESPACE RTPROCESSINGLIB
57//=============================================================================================================
58
59namespace RTPROCESSINGLIB
60{
61
62//=============================================================================================================
69{
70public:
71 enum TPassType {LPF, HPF, BPF, NOTCH };
72
73 //=========================================================================================================
79
80 //=========================================================================================================
92 CosineFilter(int fftLength,
93 float lowpass,
94 float lowpass_width,
95 float highpass,
96 float highpass_width,
97 double sFreq,
98 TPassType type);
99
100 Eigen::RowVectorXcd m_vecFftCoeff;
101 Eigen::RowVectorXd m_vecCoeff;
103 int m_iFilterOrder;
104};
105} // NAMESPACE RTPROCESSINGLIB
106
107#endif // COSINEFILTER_H
#define RTPROCESINGSHARED_EXPORT
Creates a cosine filter response in the frequency domain.
Eigen::RowVectorXd m_vecCoeff
Eigen::RowVectorXcd m_vecFftCoeff