GWOLLUM
4.2.0
Tools for gravitational-wave analyses
|
Produce an infinite impulse response filter. More...
#include <Sample.h>
Public Member Functions | |
void | Apply (const unsigned int aSize, double *aData) |
Applies filter. More... | |
Constructors and destructors | |
IIRFilter (ZPGFilter *aZpgFilter) | |
Constructor of the IIRFilter class. More... | |
virtual | ~IIRFilter (void) |
Destructor of the IIRFilter class. More... | |
Private Attributes | |
double * | directCoef |
The direct filter coefficients. More... | |
double | gain [2] |
Gain (complex). More... | |
double * | history |
The previous values of w. More... | |
double * | history_init |
The initial values of w. More... | |
unsigned int | npoles |
Number of poles. More... | |
unsigned int | numDirect |
The number of direct filter coefficients. More... | |
unsigned int | numRecurs |
The number of recursive filter coefficients. More... | |
unsigned int | nzeros |
Number of zeros. More... | |
double * | poles [2] |
Poles (complex). More... | |
double * | recursCoef |
The recursive filter coefficients. More... | |
double * | zeros [2] |
Zeros (complex). More... | |
Produce an infinite impulse response filter.
IIRFilter::IIRFilter | ( | ZPGFilter * | aZpgFilter | ) |
Constructor of the IIRFilter class.
[in] | aZpgFilter | Pointer to a ZPG filter. |
|
virtual |
Destructor of the IIRFilter class.
void IIRFilter::Apply | ( | const unsigned int | aSize, |
double * | aData | ||
) |
Applies filter.
[in] | aSize | Data vector size. |
[in,out] | aData | Pointer to data vector (first element). |
|
private |
The direct filter coefficients.
|
private |
Gain (complex).
|
private |
The previous values of w.
|
private |
The initial values of w.
|
private |
Number of poles.
|
private |
The number of direct filter coefficients.
|
private |
The number of recursive filter coefficients.
|
private |
Number of zeros.
|
private |
Poles (complex).
|
private |
The recursive filter coefficients.
|
private |
Zeros (complex).