MNE-CPP
beta 1.0
|
Public Types | |
enum | FilterType { LPF, HPF, BPF, NOTCH } |
Public Member Functions | |
FilterData (QString unique_name, FilterType type, int order, double centerfreq, double bandwidth, double parkswidth, qint32 fftlength=4096) | |
void | fftTransformCoeffs () |
fftTransformCoeffs transforms the calculated filter coefficients to frequency-domain | |
RowVectorXd | applyFFTFilter (RowVectorXd &data) |
Public Attributes | |
enum UTILSLIB::FilterData::FilterType | m_Type |
int | m_iFilterOrder |
int | m_iFFTlength |
RowVectorXd | m_dCoeffA |
RowVectorXd | m_dCoeffB |
RowVectorXcd | m_dFFTCoeffA |
RowVectorXcd | m_dFFTCoeffB |
Definition at line 93 of file filterdata.h.
FilterData::FilterData | ( | QString | unique_name, |
FilterType | type, | ||
int | order, | ||
double | centerfreq, | ||
double | bandwidth, | ||
double | parkswidth, | ||
qint32 | fftlength = 4096 |
||
) |
FilterData::FilterData
[in] | unique_name | defines the name of the generated filter |
[in] | type | of the filter: LPF, HPF, BPF, NOTCH (from enum FilterType) |
[in] | order | represents the order of the filter, the higher the higher is the stopband attenuation |
[in] | centerfreq | determines the center of the frequency |
[in] | bandwidth | ignored if FilterType is set to LPF,HPF. if NOTCH/BPF: bandwidth of stop-/passband |
[in] | parkswidth | determines the width of the filter slopes (steepness) |
Definition at line 66 of file filterdata.cpp.
RowVectorXd UTILSLIB::FilterData::m_dCoeffA |
contains the forward filter coefficient set
Definition at line 127 of file filterdata.h.
RowVectorXd UTILSLIB::FilterData::m_dCoeffB |
contains the backward filter coefficient set (empty if FIR filter)
Definition at line 128 of file filterdata.h.
RowVectorXcd UTILSLIB::FilterData::m_dFFTCoeffA |
the FFT-transformed forward filter coefficient set, required for frequency-domain filtering, zero-padded to m_iFFTlength
Definition at line 130 of file filterdata.h.
RowVectorXcd UTILSLIB::FilterData::m_dFFTCoeffB |
the FFT-transformed backward filter coefficient set, required for frequency-domain filtering, zero-padded to m_iFFTlength
Definition at line 131 of file filterdata.h.
int UTILSLIB::FilterData::m_iFFTlength |
represents the filter length
Definition at line 125 of file filterdata.h.
int UTILSLIB::FilterData::m_iFilterOrder |
represents the order of the filter instance
Definition at line 124 of file filterdata.h.