apollon.signal.filter module¶
-
apollon.signal.filter.
bandpass_filter
(x: numpy.ndarray, fs: int, low: int, high: int, order: int = 4) → numpy.ndarray¶ Apply a Butterworth bandpass filter to input signal x.
Parameters: - x (np.ndarray) –
- fs (int) –
- low (int) –
- high (int) –
- order (int) –
Returns: (np.ndarray) Filtered input signal.
-
apollon.signal.filter.
coef_bw_bandpass
(low: int, high: int, fs: int, order: int = 4) → tuple¶ Return coefficients for a Butterworth bandpass filter.
Parameters: - low (int) –
- high (int) –
- fs (int) –
- order (int) –
Returns: (tuple) (b, a) Filter coefficients.