MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
rtprocessing
helpers
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
59
namespace
RTPROCESSINGLIB
60
{
61
62
//=============================================================================================================
68
class
RTPROCESINGSHARED_EXPORT
CosineFilter
69
{
70
public
:
71
enum
TPassType {LPF, HPF, BPF, NOTCH };
72
73
//=========================================================================================================
78
CosineFilter
();
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
RTPROCESSINGLIB::CosineFilter::m_vecCoeff
Eigen::RowVectorXd m_vecCoeff
Definition:
cosinefilter.h:101
RTPROCESSINGLIB::CosineFilter::m_vecFftCoeff
Eigen::RowVectorXcd m_vecFftCoeff
Definition:
cosinefilter.h:100
RTPROCESSINGLIB::CosineFilter
Creates a cosine filter response in the frequency domain.
Definition:
cosinefilter.h:68
RTPROCESINGSHARED_EXPORT
#define RTPROCESINGSHARED_EXPORT
Definition:
rtprocessing_global.h:55
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17