|
Filters 1.0
LPF, HPF, BPF, BSF, SRL
|
Second-order high-pass filter. More...
Go to the source code of this file.
Classes | |
| class | filter::high_pass::HPF_2< T > |
| Second-order high-pass filter. More... | |
Namespaces | |
| namespace | filter |
| Contains digital signal filtering algorithms. | |
| namespace | filter::high_pass |
| namespace | high_pass |
| Contains high-pass filter implementations. | |
Second-order high-pass filter.
This file defines the filter::high_pass::HPF_2 class, which implements a discrete-time second-order high-pass filter.
The filter attenuates low-frequency and DC components while allowing high-frequency components of the input signal to pass.
The filter is configured using the cutoff frequency and sampling time. The cutoff frequency is prewarped during filter design to compensate for the frequency transformation associated with the bilinear transformation.
The implementation maintains previous input and output samples as internal filter state.
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 hpf_2.h.