obspy.core.stream.Stream.spectrogram

Stream.spectrogram(**kwargs)[source]

Create a spectrogram plot for each trace in the stream.

For details on kwargs that can be used to customize the spectrogram plot see obspy.imaging.spectrogram.spectrogram().

Example

>>> from obspy import read
>>> st = read()
>>> st[0].spectrogram()  

(Source code, png, hires.png)

../../_images/obspy-core-stream-Stream-spectrogram-1.png