ezmsg.sigproc.cheby#
Functions
- cheby_design_fun(fs, order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, coef_type='ba', cheby_type='cheby1', wn_hz=True)[source]#
Chebyshev type I and type II digital and analog filter design. Design an order`th-order digital or analog Chebyshev type I or type II filter and return the filter coefficients. See :obj:`ChebyFilterSettings for argument description.
Classes
- class ChebyshevFilter(*args, settings=None, **kwargs)[source]#
Bases:
BaseFilterByDesignTransformerUnit[ChebyshevFilterSettings,ChebyshevFilterTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
ChebyshevFilterSettings
- class ChebyshevFilterSettings(axis=None, coef_type='ba', order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, cheby_type='cheby1', wn_hz=True)[source]#
Bases:
FilterBaseSettingsSettings for
ChebyshevFilter.- Parameters:
- ripple_tol: float | None = None#
The maximum ripple allowed below unity gain in the passband. Specified in decibels, as a positive number.
- Wn: float | tuple[float, float] | None = None#
A scalar or length-2 sequence giving the critical frequencies. For Type I filters, this is the point in the transition band at which the gain first drops below -rp. For digital filters, Wn are in the same units as fs unless wn_hz is False. For analog filters, Wn is an angular frequency (e.g., rad/s).
- __init__(axis=None, coef_type='ba', order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, cheby_type='cheby1', wn_hz=True)#
- class ChebyshevFilterTransformer(*args, **kwargs)[source]#
Bases:
FilterByDesignTransformer[ChebyshevFilterSettings,tuple[ndarray[tuple[Any, …],dtype[_ScalarT]],ndarray[tuple[Any, …],dtype[_ScalarT]]] |ndarray[tuple[Any, …],dtype[_ScalarT]]]
- class ChebyshevFilterSettings(axis=None, coef_type='ba', order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, cheby_type='cheby1', wn_hz=True)[source]#
Bases:
FilterBaseSettingsSettings for
ChebyshevFilter.- Parameters:
- ripple_tol: float | None = None#
The maximum ripple allowed below unity gain in the passband. Specified in decibels, as a positive number.
- Wn: float | tuple[float, float] | None = None#
A scalar or length-2 sequence giving the critical frequencies. For Type I filters, this is the point in the transition band at which the gain first drops below -rp. For digital filters, Wn are in the same units as fs unless wn_hz is False. For analog filters, Wn is an angular frequency (e.g., rad/s).
- __init__(axis=None, coef_type='ba', order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, cheby_type='cheby1', wn_hz=True)#
- cheby_design_fun(fs, order=0, ripple_tol=None, Wn=None, btype='lowpass', analog=False, coef_type='ba', cheby_type='cheby1', wn_hz=True)[source]#
Chebyshev type I and type II digital and analog filter design. Design an order`th-order digital or analog Chebyshev type I or type II filter and return the filter coefficients. See :obj:`ChebyFilterSettings for argument description.
- class ChebyshevFilterTransformer(*args, **kwargs)[source]#
Bases:
FilterByDesignTransformer[ChebyshevFilterSettings,tuple[ndarray[tuple[Any, …],dtype[_ScalarT]],ndarray[tuple[Any, …],dtype[_ScalarT]]] |ndarray[tuple[Any, …],dtype[_ScalarT]]]
- class ChebyshevFilter(*args, settings=None, **kwargs)[source]#
Bases:
BaseFilterByDesignTransformerUnit[ChebyshevFilterSettings,ChebyshevFilterTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
ChebyshevFilterSettings