ChebyshevILowpassFilter
ChebyshevILowpassFilter
Chebyshev Type I Low-pass filter implementation. More…
#include <FilterImplementations.hpp>
Inherits from IFilter
Public Functions
| Name | |
|---|---|
| ChebyshevILowpassFilter(double cutoff_hz, double sampling_rate_hz, double passband_ripple_db =1.0) Construct and configure the filter. |
|
| virtual void | process(std::span< float > data) override Process analog time series data in-place. |
| virtual void | reset() override Reset the filter’s internal state. |
| virtual std::string | getName() const override Get a descriptive name for this filter. |
Additional inherited members
Public Functions inherited from IFilter
| Name | |
|---|---|
| virtual | ~IFilter() =default |
Detailed Description
template <int Order>
class ChebyshevILowpassFilter;Chebyshev Type I Low-pass filter implementation.
Template Parameters:
- Order The filter order (must be known at compile time)
Public Functions Documentation
function ChebyshevILowpassFilter
inline ChebyshevILowpassFilter(
double cutoff_hz,
double sampling_rate_hz,
double passband_ripple_db =1.0
)Construct and configure the filter.
Parameters:
- cutoff_hz Cutoff frequency in Hz
- sampling_rate_hz Sampling rate in Hz
- passband_ripple_db Passband ripple in dB
function process
inline virtual void process(
std::span< float > data
) overrideProcess analog time series data in-place.
Parameters:
- data Span of data to process in-place
Reimplements: IFilter::process
This method processes the entire data array. The implementation should handle the sample-by-sample loop internally to avoid virtual function call overhead per sample.
function reset
inline virtual void reset() overrideReset the filter’s internal state.
Reimplements: IFilter::reset
This clears any internal filter state (delay lines, etc.) so the filter can be reused for a new data sequence.
function getName
inline virtual std::string getName() const overrideGet a descriptive name for this filter.
Return: String describing the filter (e.g., “Butterworth Lowpass Order 4”)
Reimplements: IFilter::getName
Updated on 2026-11-13 at 20:25:41 +0000