mne.filter.
band_pass_filter
(x, Fs, Fp1, Fp2, filter_length='10s', l_trans_bandwidth=0.5, h_trans_bandwidth=0.5, method='fft', iir_params=None, picks=None, n_jobs=1, copy=True, verbose=None)¶Bandpass filter for the signal x.
Applies a zero-phase bandpass filter to the signal x, operating on the last dimension.
Parameters: | x : array
Fs : float
Fp1 : float
Fp2 : float
filter_length : str (Default: ‘10s’) | int | None
l_trans_bandwidth : float
h_trans_bandwidth : float
method : str
iir_params : dict | None
picks : array-like of int | None
n_jobs : int | str
copy : bool
verbose : bool, str, int, or None
|
---|---|
Returns: | xf : array
|
See also
Notes
The frequency response is (approximately) given by:
----------
/| | / | | / | | / | | ---------- | | -----------------
| |
Fs1 Fp1 Fp2 Fs2
Where:
Fs1 = Fp1 - l_trans_bandwidth in Hz Fs2 = Fp2 + h_trans_bandwidth in Hz