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.5.1.3. astroML.time_series.multiterm_periodogram

astroML.time_series.multiterm_periodogram(t, y, dy, omega, n_terms=3)

Perform a multiterm periodogram at each omega

This calculates the chi2 for the best-fit least-squares solution for each frequency omega.

Parameters :

t : array_like

sequence of times

y : array_like

sequence of observations

dy : array_like

sequence of observational errors

omega : float or array_like

frequencies at which to evaluate p(omega)

Returns :

power : ndarray

P = 1. - chi2 / chi2_0 where chi2_0 is the chi-square for a simple mean fit to the data