Skip to main content

ChebyshevIIHighpassFilter

ChebyshevIIHighpassFilter

Chebyshev II High-pass filter implementation. More…

#include <FilterImplementations.hpp>

Inherits from IFilter

Public Functions

Name
ChebyshevIIHighpassFilter(double cutoff_hz, double sampling_rate_hz, double stopband_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 ChebyshevIIHighpassFilter;

Chebyshev II High-pass filter implementation.

Template Parameters:

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

Public Functions Documentation

function ChebyshevIIHighpassFilter

inline ChebyshevIIHighpassFilter(
    double cutoff_hz,
    double sampling_rate_hz,
    double stopband_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