floating_mean_periodogram¶
- ell1fit.spin_periodicity.floating_mean_periodogram(t, y, var, freq)[source]¶
Power and best-fit coefficients of
c0 + a cos(2 pi f t) + b sin(2 pi f t).- Parameters:
- t, y, vararray-like
Times, values and variances (
Nonefor equal weights).- freqarray-like
Trial frequencies, in inverse units of
t.
- Returns:
- powerndarray
1 - chi2(f) / chi2_const, between 0 and 1.- coeffsndarray, shape (len(freq), 3)
(c0, a, b)at each frequency.