Skip to main content

The antiCPy package provides tools to monitor destabilization because of varying control parameters or the influence of noise. Based on early warning measures it provides an extrapolation tool to estimate the time horizon in which a critical transition will probably occur.

DOI Documentation Status PyPI version GitHub release license

antiCPy

The package abbreviation antiCPy stands for ''anticipate Critical Points (and if you like Change Points) with Python''. The vision of the antiCPy package is designing a package collection of state-of-the-art early warning measures, leading indicators and time series analysis tools that focus on system stability and resilience in general as well as algorithms that might be helpful to estimate time horizons of future transitions or resilience changes. It provides an easy applicable and efficient toolbox

  1. to estimate the drift slope $\hat{\zeta}$ of a polynomial Langevin equation as an early warning signal via Markov Chain Monte Carlo (MCMC) sampling or maximum posterior (MAP) estimation,
  2. to estimate a non-Markovian two-time scale polynomial system via MCMC or MAP with the option of a priori activated time scale separation,
  3. to estimate the dominant eigenvalue by empiric dynamic modelling approaches like delay embedding and shadow manifolds combined with iterated map's linear stability formalism,
  4. to extrapolate an early warning signal trend to find the probable transition horizon based on the current data information.

Computationally expensive algorithms are implemented both, serially and strongly parallelized to minimize computation times. In case of the change point trend extrapolation it involves furthermore algorithms that allow for computing of complicated fits with high numbers of change points without memory errors. The package aims to provide easily applicable methods and guarantee high flexibility and access to the derived interim results for research purposes.

An illustration of the drift slope procedure.

Citing antiCPy

If you use antiCPy's drift_slope measure, please cite

Martin Heßler et al. Bayesian on-line anticipation of critical transitions. New J. Phys. (2022). https://doi.org/10.1088/1367-2630/ac46d4.

If you use antiCPy's dominant_eigenvalue instead, please cite

Martin Heßler et al. Anticipation of Oligocene's climate heartbeat by simplified eigenvalue estimation. arXiv (2023). https://doi.org/10.48550/arXiv.2309.14179

Documentation

You can find the documentation on read the docs.

Install

The package can be installed via

pip install antiCPy

Related publications

Up to now the package is accompanied by

Metadata

Release files for antiCPy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for antiCPy 1.0.0
File Size Uploaded
anticpy-1.0.0.tar.gz 78.7 kB Details

Release files / anticpy-1.0.0.tar.gz

Download URL anticpy-1.0.0.tar.gz
Size 78.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dc4b2a8cb46212bea776cc525ff55e639d1fd15cfc24f584a2418d9192860aeb
BLAKE2b-256 checksum
How to use checksums
62a9203f45d5d249737f9025cfdda8ac89207505f43e8bfeb3229edc3719379b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page