Skip to main content

Extreme Value Analysis (EVA) in Python

Project description

pyextremes

Extreme Value Analysis (EVA) in Python

Test Coverage PyPI Package Anaconda Package

About

Documentation: https://georgebv.github.io/pyextremes/

License: MIT

Support: ask a question or create an issue, any input is appreciated and would help develop the project

pyextremes is a Python library aimed at performing univariate Extreme Value Analysis (EVA). It provides tools necessary to perform a wide range of tasks required to perform EVA, such as:

  • extraction of extreme events from time series using methods such as Block Maxima (BM) or Peaks Over Threshold (POT)
  • fitting continuous distributions, such as GEVD, GPD, or user-specified continous distributions to the extracted extreme events
  • visualization of model inputs, results, and goodness-of-fit statistics
  • estimation of extreme events of given probability or return period (e.g. 100-year event) and of corresponding confidence intervals
  • tools assisting with model selection and tuning, such as selection of block size in BM and threshold in POT

Check out this repository with Jupyter notebooks used to produce figures for this readme and for the official documentation.

Installation

Get latest version from PyPI:

pip install pyextremes

Install with optional dependencies:

pip install pyextremes[full]

Get latest experimental build from GitHub:

pip install "git+https://github.com/georgebv/pyextremes.git#egg=pyextremes"

Get pyextremes for the Anaconda Python distribution:

conda install -c conda-forge pyextremes

Illustrations

Model diagnostic

Diagnostic plot

Extreme value extraction

Diagnostic plot

Trace plot

Diagnostic plot

Corner plot

Diagnostic plot

Acknowledgements

I wanted to give kudos to Jean Toilliez who has inspired me to develop this open-source project and who taught me a lot about the extreme value theory. Also big thanks to Max Larson who has introduced me to software development and statistics.

Project details


Download files

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

Source Distribution

pyextremes-2.3.3.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

pyextremes-2.3.3-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

Details for the file pyextremes-2.3.3.tar.gz.

File metadata

  • Download URL: pyextremes-2.3.3.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure

File hashes

Hashes for pyextremes-2.3.3.tar.gz
Algorithm Hash digest
SHA256 a3be4e76c5496ce6f17d3bda6ac6f3775b6e9cf6b29f29e82c6a94b20b08469a
MD5 7da0f16808b41ef8dc8ebbac372222d2
BLAKE2b-256 0bce406f9ff346e7ab5a90e0948a8f196c18ca1c46d9c6f2d3993d9340bfa36d

See more details on using hashes here.

File details

Details for the file pyextremes-2.3.3-py3-none-any.whl.

File metadata

  • Download URL: pyextremes-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure

File hashes

Hashes for pyextremes-2.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5dde0be79c553bf2c719464a6541f63262b98ce267c144f1b9240be73c1e47
MD5 0bc614bcf99304c9405679a2d269b86f
BLAKE2b-256 7617f6eb9f3208f94999fa92a019852de27dacee45fd377aac3ef7d576df691a

See more details on using hashes here.

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