![]() |
Diana Software
|
QFir FIR low pass filter (Ported from Calder) More...
Public Member Functions | |
| QFir () | |
| QFir (const QCFirData &conf) | |
| void | Clear () |
| const QCFirData & | GetConfiguration () const |
| QError | Filter (const Diana::QVector &input, Diana::QVector &output) const |
| size_t | GetFilterReduction () const |
| size_t | GetFilteredSize () const |
| double | GetRiseTime () const |
| double | GetDelay () const |
Private Member Functions | |
| void | KayserBesselAlgorithm () |
| double | Ino (double x) |
| QObjectDef (QFir, 1) | |
Private Attributes | |
| QCFirData | fConfiguration |
| std::vector< double > | fCoefficients |
| size_t | fFilteredSize |
| size_t | fFilterReduction |
| double | fRiseTime |
| double | fDelay |
| QFir::QFir | ( | const QCFirData & | conf | ) |
Definition at line 13 of file QFir.cc.
References err, fConfiguration, fDelay, fFilterReduction, Filter(), QCFirData::fM, QCFirData::fMethod, fRiseTime, QCFirData::KayserBessel, KayserBesselAlgorithm(), and QERR_SIZE_NOT_MATCH.
| void QFir::Clear | ( | ) |
Definition at line 52 of file QFir.cc.
References QCFirData::Clear(), fCoefficients, fConfiguration, fDelay, fFilteredSize, fFilterReduction, fRiseTime, and Q_DOUBLE_DEFAULT.
Referenced by QFir().
| QError QFir::Filter | ( | const Diana::QVector & | input, |
| Diana::QVector & | output | ||
| ) | const |
Definition at line 63 of file QFir.cc.
References err, fCoefficients, fFilterReduction, N, QERR_SIZE_NOT_MATCH, and QERR_SUCCESS.
Referenced by QOptimumFilter::BuildFilter(), MDownSampling::Do(), and QFir().
|
inline |
Definition at line 23 of file QFir.hh.
References fConfiguration.
|
inline |
Definition at line 26 of file QFir.hh.
References fFilteredSize.
|
inline |
Definition at line 25 of file QFir.hh.
References fFilterReduction.
Referenced by QOptimumFilter::BuildFilter(), and MDownSampling::Do().
|
inline |
|
private |
|
private |
Definition at line 86 of file QFir.cc.
References QCFirData::fAttDB, fCoefficients, fConfiguration, QCFirData::fCutoff, fFilterReduction, pow(), and sin().
Referenced by QFir().
|
private |
|
private |
Definition at line 36 of file QFir.hh.
Referenced by Clear(), Filter(), and KayserBesselAlgorithm().
|
private |
Definition at line 35 of file QFir.hh.
Referenced by Clear(), GetConfiguration(), KayserBesselAlgorithm(), and QFir().
|
private |
Definition at line 40 of file QFir.hh.
Referenced by Clear(), GetDelay(), and QFir().
|
private |
Definition at line 37 of file QFir.hh.
Referenced by Clear(), and GetFilteredSize().
|
private |
Definition at line 38 of file QFir.hh.
Referenced by Clear(), Filter(), GetFilterReduction(), KayserBesselAlgorithm(), and QFir().
|
private |
Definition at line 39 of file QFir.hh.
Referenced by Clear(), GetRiseTime(), and QFir().