SignalUtils::IirFilter Function

Overload List

#SignatureDescription
1void IirFilter(TVec *Src, TVec *Dst, TIirState &IIRState);Filter data with an IIR filter.
2void IirFilter(TVec *Data, TIirState &IIRState, bool LinearPhase = false);Filter data with an IIR filter.
3void IirFilter(TVec *Data, TVec *Num, TVec *Den, bool LinearPhase = false);Filter Data and place the result back in Data.
4void IirFilter(double Src, double &Dst, TIirState &IIRState);Filter data with an IIR filter.
5void IirFilter(float Src, float &Dst, TIirState &IIRState);
6void IirFilter(const TCplx &Src, TCplx &Dst, TIirState &IIRState);Filter data with an IIR filter.
7void IirFilter(const TSCplx &Src, TSCplx &Dst, TIirState &IIRState);

Overload 1: void IirFilter(TVec *Src, TVec *Dst, TIirState &IIRState);

Filter data with an IIR filter.

#NameTypeDescription
1SrcTVec *
2DstTVec *
3IIRStateTIirState &
Remarks:

Filter data in Src and place the result in Dst. IirState must be initialized with a call to IirInit.

Note
Use this routine for filtering of streaming data.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 2: void IirFilter(TVec *Data, TIirState &IIRState, bool LinearPhase = false);

Filter data with an IIR filter.

#NameTypeDescription
1DataTVec *
2IIRStateTIirState &
3LinearPhase = falsebool
Remarks:

Filter Data and place the result back in Data. Use this routine for filtering of non-consecutive blocks of data. Set LinearPhase to True to double filter attenuation and ensure no phase distortion and no phase delay.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 3: void IirFilter(TVec *Data, TVec *Num, TVec *Den, bool LinearPhase = false);

Filter Data and place the result back in Data.

#NameTypeDescription
1DataTVec *
2NumTVec *
3DenTVec *
4LinearPhase = falsebool
Remarks:

The Iir filter is defined with a transfer function. Num is numerator and Den is denominator. Set LinearPhase to True to double filter attenuation and ensure no phase distortion and no phase delay (except for the initial transition regions).

See Also: SignalUtils::SavGolayFilter, OptimalFir::RemezImpulse, SignalUtils::FirInit, SignalUtils::IirInit, SignalUtils::IirFree
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 4: void IirFilter(double Src, double &Dst, TIirState &IIRState);

Filter data with an IIR filter.

#NameTypeDescription
1Srcdouble
2Dstdouble &
3IIRStateTIirState &
Remarks:

Filters sample Src and places real valued output of the filter in Dst.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 5: void IirFilter(float Src, float &Dst, TIirState &IIRState);

#NameTypeDescription
1Srcfloat
2Dstfloat &
3IIRStateTIirState &
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 6: void IirFilter(const TCplx &Src, TCplx &Dst, TIirState &IIRState);

Filter data with an IIR filter.

#NameTypeDescription
1Srcconst TCplx &
2DstTCplx &
3IIRStateTIirState &
Remarks:

Filters sample Src and places complex output of the filter in Dst.

Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler

Overload 7: void IirFilter(const TSCplx &Src, TSCplx &Dst, TIirState &IIRState);

#NameTypeDescription
1Srcconst TSCplx &
2DstTSCplx &
3IIRStateTIirState &
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler