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

astroML.time_series.ACF_scargle(t, y, dy, n_omega=1024, omega_max=100)

Compute the Auto-correlation function via Scargle’s method

Parameters :

t : array_like

times of observation. Assumed to be in increasing order.

y : array_like

values of each observation. Should be same shape as t

dy : float or array_like

errors in each observation.

n_omega : int (optional)

number of angular frequencies at which to evaluate the periodogram default is 2^10

omega_max : float (optional)

maximum value of omega at which to evaluate the periodogram default is 100

Returns :

ACF, t : ndarrays

The auto-correlation function and associated times