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.5. 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

Methods

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)