import obspy st = obspy.read('example.mseed') st.plot()
import obspy from obspy.signal.filter import bandpass st = obspy.read('example.mseed') st.filter('bandpass', freqmin=1, freqmax=10) st.plot()In this example, we apply a bandpass filter to the seismic waveform to extract frequencies between 1 and 10 Hz. The filter method of the Stream class is used with the bandpass option and the desired frequency range. Package Library: ObsPy