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 thank Max Larson who has inspired me to start this project and who taught me a lot about extreme value theory.

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.4.0.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyextremes-2.4.0-py3-none-any.whl (58.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyextremes-2.4.0.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for pyextremes-2.4.0.tar.gz
Algorithm Hash digest
SHA256 993b42da829e30e299d35102a3b8d27608a474354daa0da6c55d0aceee4a05ce
MD5 03147ee5e4b9ea2641eeae4b3849adee
BLAKE2b-256 b0a777b48043885f41d7f33dd89f678e93bbe84fea61635707452b0f1624f1d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyextremes-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 785a6ea7ceaad4a7890f7fc8cf532ed3a4bb47cd7981df1c6d66eee17b89c23f
MD5 cc0fe33881bc7f6ae22973cc16554fae
BLAKE2b-256 30cea7eaafed8fef23757cf1ac9865469f6c72ef67878af3e047ae165831593b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page