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
tarray_like

array of times, length N

harray_like

array of observed values, length N

f0array_like

array of candidate frequencies, length Nf

Qfloat

Q-parameter for wavelet

Returns
PSDndarray

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