Skip to main content

Estimate the autocorrelation time of a time series very quickly.

Project description

This is a direct port of a C++ routine by Jonathan Goodman (NYU) called ACOR that estimates the autocorrelation time of time series data very quickly.

Dan Foreman-Mackey (NYU) made a few surface changes to the interface in order to write a Python wrapper (with the permission of the original author).

Installation

Just run pip install acor with the optional sudo if you need it. NumPy and the associated dev headers are needed.

Usage

Given some time series x, you can estimate the autocorrelation time (tau) using:

import acor
tau, mean, sigma = acor.acor(x)

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acor-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page