11.5.1.5. astroML.time_series.MultiTermFit¶
-
class
astroML.time_series.
MultiTermFit
(omega, n_terms)[source]¶ Multi-term Fourier fit to a light curve
- Parameters
- omegafloat
angular frequency of the fundamental mode
- n_termsint
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