|
Filters 1.0
LPF, HPF, BPF, BSF, SRL
|
Second-order band-pass filter. More...
Go to the source code of this file.
Classes | |
| class | filter::band_pass::BPF_2< T > |
| Second-order band-pass filter. More... | |
Namespaces | |
| namespace | band_pass |
| Contains band-pass filter implementations. | |
| namespace | filter |
| Contains digital signal filtering algorithms. | |
| namespace | filter::band_pass |
Second-order band-pass filter.
This file defines the filter::band_pass::BPF_2 class, which implements a discrete-time second-order band-pass filter.
The filter allows frequency components within a specified frequency band to pass while attenuating frequency components below and above that band.
The filter is parameterized by its center frequency, bandwidth, and sampling time. The quality factor is derived from the center frequency and bandwidth.
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 bpf_2.h.