The class of Finite Impulse Response filters.
More...
#include <aims/signalfilter/firfilter.h>
|
|
| | AimsFIRFilter (float fs, float fc, float deltaf, float deltap, float deltas, int type) |
| | Constructor dedicated to lowpass filters or highpass filters. More...
|
| |
| | AimsFIRFilter (float fs, float fl, float fh, float deltaf, float deltap, float deltas, int type) |
| | Constructor dedicated to stopband filters or passband filters. More...
|
| |
| virtual | ~AimsFIRFilter () |
| | Destructor free the impulse response. More...
|
| |
|
| float | fSampling () const |
| | Return the sampling frequency. More...
|
| |
| float | fCut () const |
| | Return the cut frequency (highpass or lowpass) More...
|
| |
| float | fLow () const |
| | Return the low cut frequency (bandpass or bandstop) More...
|
| |
| float | fHigh () const |
| | Return the high cut frequency (bandpass or bandstop) More...
|
| |
| float | deltaF () const |
| | Return the frequency step. More...
|
| |
| float | deltaP () const |
| | Return the passband ripple. More...
|
| |
| float | deltaS () const |
| | Return the stopband ripple. More...
|
| |
| int | type () const |
| | Return the type of the filter. More...
|
| |
| carto::VolumeRef< float > | process (const carto::rc_ptr< carto::Volume< float > > &data, AimsDirectionAxis dir=AIMS_X_DIRECTION) |
| | Send a filter processing on a data according to a direction. More...
|
| |
The class of Finite Impulse Response filters.
Definition at line 77 of file firfilter.h.
◆ AimsFIRFilter() [1/2]
| AimsFIRFilter::AimsFIRFilter |
( |
float |
fs, |
|
|
float |
fc, |
|
|
float |
deltaf, |
|
|
float |
deltap, |
|
|
float |
deltas, |
|
|
int |
type |
|
) |
| |
Constructor dedicated to lowpass filters or highpass filters.
- Parameters
-
| fs | sampling frequency |
| fc | cutting frequency |
| deltaf | frequency resolution or step |
| deltap | residual ripple in pass band |
| deltas | residual ripple in stop band |
| type | type of the FIR filter (AIMS_FIR_LOWPASS,AIMS_FIR_HIGHPASS) |
◆ AimsFIRFilter() [2/2]
| AimsFIRFilter::AimsFIRFilter |
( |
float |
fs, |
|
|
float |
fl, |
|
|
float |
fh, |
|
|
float |
deltaf, |
|
|
float |
deltap, |
|
|
float |
deltas, |
|
|
int |
type |
|
) |
| |
Constructor dedicated to stopband filters or passband filters.
- Parameters
-
| fs | sampling frequency |
| fl | lower cutting frequency |
| fh | higher cutting frequency |
| deltaf | frequency resolution or step |
| deltap | residual ripple in pass band |
| deltas | residual ripple in stop band |
| type | type of the FIR filter (AIMS_FIR_BANDPASS,AIMS_FIR_BANDSTOP) |
◆ ~AimsFIRFilter()
| virtual AimsFIRFilter::~AimsFIRFilter |
( |
| ) |
|
|
virtual |
Destructor free the impulse response.
◆ deltaF()
| float AimsFIRFilter::deltaF |
( |
| ) |
const |
Return the frequency step.
◆ deltaP()
| float AimsFIRFilter::deltaP |
( |
| ) |
const |
Return the passband ripple.
◆ deltaS()
| float AimsFIRFilter::deltaS |
( |
| ) |
const |
Return the stopband ripple.
◆ fCut()
| float AimsFIRFilter::fCut |
( |
| ) |
const |
Return the cut frequency (highpass or lowpass)
◆ fHigh()
| float AimsFIRFilter::fHigh |
( |
| ) |
const |
Return the high cut frequency (bandpass or bandstop)
◆ fLow()
| float AimsFIRFilter::fLow |
( |
| ) |
const |
Return the low cut frequency (bandpass or bandstop)
◆ fSampling()
| float AimsFIRFilter::fSampling |
( |
| ) |
const |
Return the sampling frequency.
◆ idealImpulseResponse()
Return the ideal impulse response of the F.I.R. filter.
◆ impulseResponse()
Return the modified impulse response of the F.I.R. filter.
◆ initialize()
| void AimsFIRFilter::initialize |
( |
| ) |
|
|
protected |
send the process which evaluate the coefficients
◆ kaiserWindow()
◆ numberOfFIRFilterCoef()
| void AimsFIRFilter::numberOfFIRFilterCoef |
( |
| ) |
|
|
protected |
Process the number of coefficients.
◆ process()
Send a filter processing on a data according to a direction.
- Parameters
-
| data | 1D/2D/3D or 4D data const reference to process |
| dir | direction of filtering (AIMS_X_DIRECTION, AIMS_Y_DIRECTION,.) |
◆ type()
| int AimsFIRFilter::type |
( |
| ) |
const |
Return the type of the filter.
◆ _beta
| float AimsFIRFilter::_beta |
|
protected |
◆ _deltaF
| float AimsFIRFilter::_deltaF |
|
protected |
◆ _deltaP
| float AimsFIRFilter::_deltaP |
|
protected |
Residual ondulation in pass-band.
Definition at line 90 of file firfilter.h.
◆ _deltaS
| float AimsFIRFilter::_deltaS |
|
protected |
Residual ondulation in stop-band.
Definition at line 92 of file firfilter.h.
◆ _fCut
| float AimsFIRFilter::_fCut |
|
protected |
◆ _fHigh
| float AimsFIRFilter::_fHigh |
|
protected |
◆ _fLow
| float AimsFIRFilter::_fLow |
|
protected |
◆ _fSampling
| float AimsFIRFilter::_fSampling |
|
protected |
◆ _impulseResponse
◆ _nCoef
| int AimsFIRFilter::_nCoef |
|
protected |
Number of coefficients.
Definition at line 98 of file firfilter.h.
◆ _type
The documentation for this class was generated from the following file: