Highpass
- class gpype.backend.filters.highpass.Highpass[source]
Bases:
ButterworthHighpass filter implementation using Butterworth design.
Provides a convenient interface for creating highpass filters that allow frequencies above the cutoff to pass while attenuating frequencies below the cutoff. Uses Butterworth design for maximally flat response.
- class Configuration[source]
Bases:
ConfigurationConfiguration class for Highpass filter parameters.
- __init__(f_c, order=None, phase=None, **kwargs)[source]
Initialize the highpass filter with cutoff frequency.
- Parameters:
f_c (
float) – Cutoff frequency in Hz. Must be positive.order (
int) – Filter order. Defaults to DEFAULT_ORDER from parent class.phase (
str) –causal(default) filters forwards only and carries the filter’s group delay.zerofilters forwards and backwards, leaving no group delay – which needs the whole recording, so it runs in a batch pipeline and is refused in a realtime one.**kwargs – Additional arguments passed to parent Butterworth class.
- Raises:
ValueError – If f_c is not positive.