Filters 1.0
LPF, HPF, BPF, BSF, SRL
Loading...
Searching...
No Matches
bpf_2.h File Reference

Second-order band-pass filter. More...

#include <cstdint>
#include "../../src/band_pass/bpf_2.tpp"
Include dependency graph for bpf_2.h:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

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.

Template Parameters
TNumeric data type used for the filter calculations.
Author
Abhinay Kumar
Version
1.0.0

Definition in file bpf_2.h.