Skip to content

Latest commit

 

History

History
61 lines (29 loc) · 1.66 KB

README.md

File metadata and controls

61 lines (29 loc) · 1.66 KB

PyPI version Build Status Coverage Status

ewstools

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.

Dependencies include

  • numpy, pandas, seaborn
  • lmfit, arch

Install:

ewstools requires Python version 3.7 or later to be installed on your system. You can than install ewstools by entering

pip install ewstools

into the command line.

Installation with conda will be available soon, for those with an Anaconda distribution.

Documentation

Full documentation is available here.

Demos

iPython notebooks demonstrating how to use the software are available here.

Quick walkthrough