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
Metadata
Release files for sacf 2.0
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 |
|---|---|---|---|---|
| sacf-2.0.tar.gz | 331.6 kB | Without provenance | Details for sacf-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 11.0+ x86-64 | Details for sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl |
Total release size: 850.4 kB
Release files / sacf-2.0.tar.gz
| Download URL | sacf-2.0.tar.gz |
|---|---|
| Size | 331.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca36aad1d5ad945621739a1d387b6c89ba312f02fa4a00a269c835c19bcd343c
|
|
BLAKE2b-256 checksum How to use checksums |
b84f4e6385418c1370abb09584eaafe523549d400dfd9f060a54afd8f447be9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl
| Download URL | sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl |
|---|---|
| Size | 518.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
39c5e8d1cdb4cf8da5aad118fcf78b8101e932bb5d7999131bda67f9c83892ce
|
|
BLAKE2b-256 checksum How to use checksums |
2308dc635c888822e2d0d7472df1d6b52e5d1f56c0dd10c206a1699e64aa3a55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for sacf 2.0
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.