GPLIB++
|
A simple low pass. More...
#include <FilterFunc.h>
Public Member Functions | |
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 .
Definition at line 35 of file FilterFunc.h.