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 sudo if you really need it.
Otherwise, download the source code as a tarball or clone the git repository from GitHub:
git clone https://github.com/dfm/acor.git
Then run
cd acor python setup.py install
to compile and install the module acor in your Python path. The only dependency is NumPy (including the python-dev and python-numpy-dev packages which you might have to install separately on some systems).
Usage
Given some time series x, you can estimate the autocorrelation time (tau) using:
import acor tau, mean, sigma = acor.acor(x)
References
Metadata
Release files for acor 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| acor-1.1.1.tar.gz | 6.1 kB | Without provenance | Details for acor-1.1.1.tar.gz |
Release files / acor-1.1.1.tar.gz
| Download URL | acor-1.1.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c647d30326004cfcfbcf630e97586ce574954e36bebf75b657d33d5d79e94e3
|
|
BLAKE2b-256 checksum How to use checksums |
d7632f696a862e1687bd14a30b7319ec3fbe02ba78f80af43c32e999d0e7435a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for acor 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.