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