Skip to main content

A package with tools to compute early warning signals (EWS) from time-series data

Project description

PyPI version Build Status Coverage Status DOI


Python package for computing, analysing and visualising early warning signals (EWS) in time-series data. Includes a novel approach to characterise bifurcations using EWS.

Functionality includes

  • Computing the following EWS

    • Variance metrics (variance, standard deviation, coefficient of variation)
    • Autocorrelation (at specified lag times)
    • Higher moments (skewness, kurtosis)
    • Power spectrum (including maximum frequency, coherence factor and AIC weights csp. to different canonical forms)
  • Block-bootstrapping time-series to obtain confidence bounds on EWS estimates

  • Visualisation of EWS with plots of time-series and power spectra.


The package ewstools requires Python version 3.7 or later to be installed on your system. It may then be installed using pip, by entering the following into your command line.

pip install ewstools


For demonstrations/tutorials on using ewstools, please refer to these iPython notebooks.


Full documentation is available on ReadTheDocs.


If you are interested in being a contributer, or run into trouble with the package, please post on the issue tracker.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ewstools-0.0.3-py3-none-any.whl (15.5 kB) Copy SHA256 hash SHA256 Wheel py3
ewstools-0.0.3.tar.gz (13.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page