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

Second-order high-pass filter. More...

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

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.

Detailed Description

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.

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

Definition in file hpf_2.h.