MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Creates a cosine filter response in the frequency domain. More...
#include <cosinefilter.h>
Public Types | |
enum | TPassType { LPF, HPF, BPF, NOTCH } |
Public Member Functions | |
CosineFilter () | |
CosineFilter (int fftLength, float lowpass, float lowpass_width, float highpass, float highpass_width, double sFreq, TPassType type) | |
Public Attributes | |
Eigen::RowVectorXcd | m_vecFftCoeff |
Eigen::RowVectorXd | m_vecCoeff |
int | m_iFilterOrder |
Creates a cosine filter response in the frequency domain.
Creates a cosine filter response in the frequency domain.
Definition at line 68 of file cosinefilter.h.
CosineFilter::CosineFilter | ( | ) |
Constructs a CosineFilter object.
Definition at line 66 of file cosinefilter.cpp.
CosineFilter::CosineFilter | ( | int | fftLength, |
float | lowpass, | ||
float | lowpass_width, | ||
float | highpass, | ||
float | highpass_width, | ||
double | sFreq, | ||
TPassType | type | ||
) |
Constructs a CosineFilter object.
[in] | fftLength | length of the fft (multiple integer of 2^x). |
[in] | lowpass | low cutoff frequency in Hz (not normed to sampling freq). |
[in] | lowpass_width | determines the width of the filter slopes (steepness) in Hz (not normed to sampling freq). |
[in] | highpass | highpass high cutoff frequency in Hz (not normed to sampling freq). |
[in] | highpass_width | determines the width of the filter slopes (steepness) in Hz (not normed to sampling freq). |
[in] | sFreq | sampling frequency. |
[in] | type | filter type (lowpass, highpass, etc.). |
Definition at line 73 of file cosinefilter.cpp.
Eigen::RowVectorXd RTPROCESSINGLIB::CosineFilter::m_vecCoeff |
the time filter coefficient set
Definition at line 101 of file cosinefilter.h.
Eigen::RowVectorXcd RTPROCESSINGLIB::CosineFilter::m_vecFftCoeff |
the FFT-transformed forward filter coefficient set, required for frequency-domain filtering, zero-padded to m_iFftLength.
Definition at line 100 of file cosinefilter.h.