obspy.core.trace.Trace.spectrogram

Trace.spectrogram(**kwargs)[source]

Create a spectrogram plot of the trace.

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

Example

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

(Source code, png, hires.png)

../../_images/obspy-core-trace-Trace-spectrogram-1.png