This documentation is for astroML version 0.2

This page


astroML Mailing List

GitHub Issue Tracker


Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)


If you use the software, please consider citing astroML. astroML.time_series.MultiTermFit

class astroML.time_series.MultiTermFit(omega, n_terms)

Multi-term Fourier fit to a light curve

Parameters :

omega : float

angular frequency of the fundamental mode

n_terms : int

the number of Fourier modes to use in the fit


fit(t, y, dy) Fit multiple Fourier terms to the data
predict(Nphase[, return_phased_times, ...]) Compute the phased fit, and optionally return phased times
__init__(omega, n_terms)