python - How to implement band-pass Butterworth filter with Scipy
https://stackoverflow.com/questions/12093594/how-to-implement-band-pass-butterworth-filter-with-scipy-signal-butter
Webfrom scipy.signal import butter, lfilter. def butter_bandpass(lowcut, highcut, fs, order=5): return butter(order, [lowcut, highcut], fs=fs, btype='band') def butter_bandpass_filter(data, lowcut, highcut, fs, order=5): b, a = butter_bandpass(lowcut, highcut, fs, order=order) y = lfilter(b, a, data) return y.
DA: 59 PA: 92 MOZ Rank: 33