11.5.2.1. astroML.time_series.ACF_scargle¶

astroML.time_series.
ACF_scargle
(t, y, dy, n_omega=1024, omega_max=100)[source]¶ Compute the Autocorrelation function via Scargle’s method
 Parameters
 tarray_like
times of observation. Assumed to be in increasing order.
 yarray_like
values of each observation. Should be same shape as t
 dyfloat or array_like
errors in each observation.
 n_omegaint (optional)
number of angular frequencies at which to evaluate the periodogram default is 2^10
 omega_maxfloat (optional)
maximum value of omega at which to evaluate the periodogram default is 100
 Returns
 ACF, tndarrays
The autocorrelation function and associated times