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 details)
File details
Details for the file acor-1.0.0.tar.gz
.
File metadata
- Download URL: acor-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aebe81db3d0be139eef95f9ff854f986c4f156a8792e34f9b21167e5bebf167 |
|
MD5 | 4e12022df7315c754809eaab45a28c83 |
|
BLAKE2b-256 | d9207741417fbef10d5c3fb9086628b072e6a65edaaff27dd54f962e819cad43 |