GPLIB++
Public Member Functions | List of all members
gplib::SimpleLp Class Reference

A simple low pass. More...

#include <FilterFunc.h>

Inheritance diagram for gplib::SimpleLp:
Inheritance graph
[legend]

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...
 

Detailed Description

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 $ 0 \ldots 0.5 $.

Definition at line 35 of file FilterFunc.h.


The documentation for this class was generated from the following file: