This documentation is for astroML version 0.2

This page

Links

astroML Mailing List

GitHub Issue Tracker

Videos

Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)

Citing

If you use the software, please consider citing astroML.

11.10.4. astroML.fourier.wavelet_PSD

astroML.fourier.wavelet_PSD(t, h, f0, Q=1.0)[source]

Compute the wavelet PSD as a function of f0 and t

Parameters :

t : array_like

array of times, length N

h : array_like

array of observed values, length N

f0 : array_like

array of candidate frequencies, length Nf

Q : float

Q-parameter for wavelet

Returns :

PSD : ndarray

The 2-dimensional PSD, of shape (Nf, N), corresponding with frequencies f0 and times t.