Power Spectral Density in SciPy, not pylab
May 10, 2011
6:57 p.m.
I see the psd() function within matplotlib pylab, and I realize that I can use it to get an array of Pxx,freqs. I don't need to make a figure though and I need to take the PSD of many time series (so it would be nice to do it in a vectorized way). Is there a PSD function within SciPy that allows me to select an axis in a n-dimensional array on which to do the PSD estimation, and then return an n-1 dimensional array? Thanks, Gustavo
November 2011
2:32 p.m.
A very old question but I had the same problem and google pointed me here. Use mlab. from matplotlib import mlab powers, freqs = mlab.psd(blah_blah)
5254
Age (days ago)
5454
Last active (days ago)
1 comments
2 participants
participants (2)
-
Gus Ishere -
Stefan Krastanov