Skip to main content

A selective estimator of the autocorrelation function for non-uniformly sampled timeseries data

Project description

Python Test Status

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:

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

This version

2.0

Download files

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

Source Distribution

sacf-2.0.tar.gz (331.6 kB view hashes)

Uploaded Source

Built Distribution

sacf-2.0-cp37-cp37m-macosx_11_0_x86_64.whl (518.8 kB view hashes)

Uploaded CPython 3.7m macOS 11.0+ x86-64

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