A simple low pass. More...
|SimpleLp (const double cornerfreq)|
|The constructor takes the dimensionless corner frequency, i.e. the corner frequency in Hz times the sampling rate. More...|
|double||operator() (const double currvalue)|
|This version of the operator is suitable for use with std::transform, it returns a filtered value for each call with the current value. More...|
A simple low pass.
This class defines a simple IIR low pass filter as described in Numerical Recipes p. 562. The filter coefficients are calculated by a bilinear transformation method. The corner frequency in the constructor has to be given in terms of the Nyquist frequency, i.e. in the range .