|
Filters 1.0
LPF, HPF, BPF, BSF, SRL
|
Second-order low-pass filter. More...
Go to the source code of this file.
Classes | |
| class | filter::low_pass::LPF_2< T > |
| Second-order low-pass filter. More... | |
Namespaces | |
| namespace | filter |
| Contains digital signal filtering algorithms. | |
| namespace | filter::low_pass |
| namespace | low_pass |
| Contains low-pass filter implementations. | |
Second-order low-pass filter.
This file defines the filter::low_pass::LPF_2 class, which implements a discrete-time second-order low-pass filter.
The filter attenuates high-frequency components of an input signal while allowing low-frequency components to pass. The implementation uses a prewarped cutoff frequency for the digital filter design.
The filter maintains previous input and output samples as internal state variables.
The class is templated to support different numeric types such as float and double.
| T | Numeric data type used for the filter calculations. |
Definition in file lpf_2.h.