A selective estimator of the autocorrelation function for non-uniformly sampled timeseries data
Project description
Selective Estimator for the Autocorrelation Function
S-ACF: A selective estimator for the autocorrelation function of irregularly sampled time series (credit Lars Kreutzer, c++ implementation by Josh Briegal jtb34@cam.ac.uk)
Installation
Requirements:
- CMAKE (https://cmake.org) > 3.8.
- C++14
From above top level directory run
pip install ./sacf
in python:
SACF follows Astropy LombScargle implementation:
from sacf import SACF
lag_timeseries, correlations = SACF(timeseries, values, errors=None).autocorrelation()
with options:
sacf.autocorrelation(max_lag=None, lag_resolution=None, selection_function='natural', weight_function='fast', alpha=None)
NOTE: If users specify selection_function="fast", weight_function="fractional_squared" or weight_function="gaussian", a python implementation of the SACF will be invoked which is considerably slower than the default C++ option.
Tests
From root directory run:
tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sacf-2.0.tar.gz.
File metadata
- Download URL: sacf-2.0.tar.gz
- Upload date:
- Size: 331.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.61.1 importlib-metadata/4.5.0 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca36aad1d5ad945621739a1d387b6c89ba312f02fa4a00a269c835c19bcd343c
|
|
| MD5 |
ae11c03a639741d2e6759802e4f77b5f
|
|
| BLAKE2b-256 |
b84f4e6385418c1370abb09584eaafe523549d400dfd9f060a54afd8f447be9a
|
File details
Details for the file sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl.
File metadata
- Download URL: sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl
- Upload date:
- Size: 518.8 kB
- Tags: CPython 3.7m, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.61.1 importlib-metadata/4.5.0 keyring/23.0.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39c5e8d1cdb4cf8da5aad118fcf78b8101e932bb5d7999131bda67f9c83892ce
|
|
| MD5 |
34bf2cd18037dfd20145e9d50e98f77d
|
|
| BLAKE2b-256 |
2308dc635c888822e2d0d7472df1d6b52e5d1f56c0dd10c206a1699e64aa3a55
|