Skip to main content

ChebyshevIBandpassFilter

ChebyshevIBandpassFilter

Chebyshev Type I Band-pass filter implementation. More…

#include <FilterImplementations.hpp>

Inherits from IFilter

Public Functions

Name
ChebyshevIBandpassFilter(double low_cutoff_hz, double high_cutoff_hz, double sampling_rate_hz, double ripple_db)
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 ChebyshevIBandpassFilter;

Chebyshev Type I Band-pass filter implementation.

Template Parameters:

  • Order The filter order (must be known at compile time)

Public Functions Documentation

function ChebyshevIBandpassFilter

inline ChebyshevIBandpassFilter(
    double low_cutoff_hz,
    double high_cutoff_hz,
    double sampling_rate_hz,
    double ripple_db
)

function process

inline virtual void process(
    std::span< float > data
) override

Process 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() override

Reset 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 override

Get 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