MNE-CPP
beta 1.0
|
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 | |
RowVectorXcd | m_dFFTCoeffA |
RowVectorXd | m_dCoeffA |
Creates a cosine filter response in the frequency domain.
Creates a cosine filter response in the frequency domain.
Definition at line 99 of file cosinefilter.h.
CosineFilter::CosineFilter | ( | ) |
Constructs a CosineFilter object.
Definition at line 58 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.
fftLength | length of the fft (multiple integer of 2^x) |
lowpass | low cutoff frequency in Hz (not normed to sampling freq) |
lowpass_width | determines the width of the filter slopes (steepness) in Hz (not normed to sampling freq) |
highpass | highpass high cutoff frequency in Hz (not normed to sampling freq) |
highpass_width | determines the width of the filter slopes (steepness) in Hz (not normed to sampling freq) |
sFreq | sampling frequency |
type | filter type (lowpass, highpass, etc.) |
Definition at line 66 of file cosinefilter.cpp.
RowVectorXd UTILSLIB::CosineFilter::m_dCoeffA |
the time filter coefficient set
Definition at line 126 of file cosinefilter.h.
RowVectorXcd UTILSLIB::CosineFilter::m_dFFTCoeffA |
the FFT-transformed forward filter coefficient set, required for frequency-domain filtering, zero-padded to m_iFFTlength.
Definition at line 125 of file cosinefilter.h.