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
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.
Full documentation is available here.
iPython notebooks demonstrating how to use the software are available here.