[obspy-users] obspy.signal.psd.psd / matplotlib.mlab.psd

Tobias Megies tobias.megies at geophysik.uni-muenchen.de
Fri Apr 29 14:47:54 CEST 2011

Hi all,

there are some changes in default parameters for power spectral density
calculations in matplotlib.mlab.psd (and thus matplotlib.pyplot.psd,
too) with matplotlib version 0.98.4.
I wrote a wrapper in obspy.signal.psd.psd that -- regardless of
matplotlib version -- emulates the behavior of recent matplotlib
versions (scaling for onesided fft, scaling by sampling rate). I also
added tests to compare the results against PITSA.

For more information see:

 - http://docs.obspy.org/packages/auto/obspy.signal.psd.psd.html
   (page will get updated overnight)
 - https://obspy.org/changeset/2391/obspy


Dipl.-Geophys. Tobias Megies

Geophysikalisches Observatorium
Ludwigshöhe 8
82256 Fürstenfeldbruck

Department für Geo- und Umweltwissenschaften
Sektion Geophysik
Theresienstrasse 41/IV
80333 München

Tel: +49 (0) 89 2180-73981
     +49 (0) 89 2180-4326
Mail: tobias.megies at geophysik.uni-muenchen.de

More information about the obspy-users mailing list