Open Rails

IIRFilter Class

[This is preliminary documentation and subject to change.]

by Matej Pacha IIRFilter class provides discreet Infinite impulse response (IIR) filter Transfer function in general: -1 -2 -n A(z) a0 + a1*z + a2*z + ... an*z H(z) = ----- = --------------------------------- B(z) -1 -2 -m 1 + b1*z + b2*z + ... bm*z IIRFilter class includes: - Exponential filter - not implemented! - Butterworth filter - only 1st order low pass with warping effect eliminated - Chebychev filter - not implemented! - Bessel filter - not implemented! With every filter it is possible to use constant or variable sampling frequency (now only with Butterworth 1st order!!!) - Use Filter(NewSample) for constant sampling period - Use Filter(NewSample, samplingPeriod) for variable sampling period Note: Sampling frequency MUST be always higher than cutoff frequency - if variable sampling period is used the Filter() function checks this condition and is skipped if not passed (may cause problems with result stability)

For a list of all members of this type, see IIRFilter Members .

System.Object
   IIRFilter

public class IIRFilter

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: ORTS.Common

Assembly: ORTS.Common (in ORTS.Common.dll)

See Also

IIRFilter Members | ORTS.Common Namespace