Produce a filter defined by a set of zeros, poles and a gain factor.
More...
#include <Sample.h>
|
| void | SetGain (const double aGainRe, const double aGainIm) |
| | Set a filter gain.
|
| |
| void | SetPole (const unsigned int aPoleIndex, const double aPoleRe, const double aPoleIm) |
| | Set a filter pole.
|
| |
| void | SetZero (const unsigned int aZeroIndex, const double aZeroRe, const double aZeroIm) |
| | Set a filter zero.
|
| |
| void | WToZ (void) |
| | Move from the W- to Z-plane.
|
| |
|
| | ZPGFilter (const unsigned int aNumZeros, const unsigned int aNumPoles) |
| | Constructor of the ZPGFilter class.
|
| |
| virtual | ~ZPGFilter (void) |
| | Destructor of the ZPGFilter class.
|
| |
|
| double | gain [2] |
| | Complex gain.
|
| |
| unsigned int | npoles |
| | Number of poles.
|
| |
| unsigned int | nzeros |
| | Number of zeros.
|
| |
| double * | poles [2] |
| | Complex poles.
|
| |
| double * | zeros [2] |
| | Complex zeros.
|
| |
Produce a filter defined by a set of zeros, poles and a gain factor.
This class is designed to create and use a filter defined by zeros and poles.
- Author
- Florent Robinet
◆ ZPGFilter()
| ZPGFilter::ZPGFilter |
( |
const unsigned int |
aNumZeros, |
|
|
const unsigned int |
aNumPoles |
|
) |
| |
Constructor of the ZPGFilter class.
- Parameters
-
| [in] | aNumZeros | Number of zeros. |
| [in] | aNumPoles | Number of poles. |
◆ ~ZPGFilter()
| ZPGFilter::~ZPGFilter |
( |
void |
| ) |
|
|
virtual |
◆ SetGain()
| void ZPGFilter::SetGain |
( |
const double |
aGainRe, |
|
|
const double |
aGainIm |
|
) |
| |
|
inline |
Set a filter gain.
- Parameters
-
| [in] | aGainRe | Gain real part. |
| [in] | aGainIm | Gain imaginary part. |
◆ SetPole()
| void ZPGFilter::SetPole |
( |
const unsigned int |
aPoleIndex, |
|
|
const double |
aPoleRe, |
|
|
const double |
aPoleIm |
|
) |
| |
|
inline |
Set a filter pole.
- Parameters
-
| [in] | aPoleIndex | Pole index. |
| [in] | aPoleRe | Pole real part. |
| [in] | aPoleIm | Pole imaginary part. |
◆ SetZero()
| void ZPGFilter::SetZero |
( |
const unsigned int |
aZeroIndex, |
|
|
const double |
aZeroRe, |
|
|
const double |
aZeroIm |
|
) |
| |
|
inline |
Set a filter zero.
- Parameters
-
| [in] | aZeroIndex | Zero index. |
| [in] | aZeroRe | Zero real part. |
| [in] | aZeroIm | Zero imaginary part. |
◆ WToZ()
| void ZPGFilter::WToZ |
( |
void |
| ) |
|
Move from the W- to Z-plane.
◆ IIRFilter
◆ gain
| double ZPGFilter::gain[2] |
|
private |
◆ npoles
| unsigned int ZPGFilter::npoles |
|
private |
◆ nzeros
| unsigned int ZPGFilter::nzeros |
|
private |
◆ poles
| double* ZPGFilter::poles[2] |
|
private |
◆ zeros
| double* ZPGFilter::zeros[2] |
|
private |
The documentation for this class was generated from the following files: