class IIRFilter : public Pipe Digital IIR filter implementation API
IIR Filter implements digital IIR (Infinite Impulse Response) filters. An object of class IIRFilter is constructed by specifying the positions of the filter poles and zeros in the S plane and the sampling rate of the data. Any TSeries object can be filtered. Note that error trapping to spot gaps between successive TSeries inputs applied to the same filter is not yet implemented.
IIRFilter(unsigned int npoles, dComplex* pole, unsigned int nzeros, dComplex* zero, double design_sample_rate)
pole - An array of type dComplex containing the list of poles.
Note that where a complex pole is in the list, its complex conjugate
must also be in the list. The convention for root specification is
the same as for Matlab, except that matlab expresses s plane values
in
whereas here s plane values are in Hz.
So to enter
Matlab generated poles and zeros with this software, divide real and
imaginary parts by
.
nzeros. - The number of zeros.
zero - An array of type dComplex containing the list of zeros.
See comment above for pole specification.
design_sample_rate - The sampling rate of the channel to be
filtered, in Hz.
int dumpSPlaneRoots(void)
~IIRFilter(void)
TSeries apply(const TSeries& data_in)
void dataCheck(const TSeries& data_in) const
void reset(void)
bool inUse(void) const
Time getStartTime(void) const
Time getCurrentTime(void) const
unsigned getOrder(void) const
alphabetic index hierarchy of classes
generated by doc++