Skip to main content

An implementation of the trajectory-adaptive multilevel splitting (TAMS) method.

Project description

pyTAMS

github license badge RSD DOI build sonarcloud workflow scc badge

Overview

pyTAMS is a modular implementation of the trajectory-adaptive multilevel splitting (TAMS) method introduced by Lestang et al.. This method aims at predicting rare events probabilities in dynamical systems by biasing an system trajectories ensemble.

The main objective of pyTAMS is to provide a general framework for applying TAMS to high-dimensional systems such as the ones encountered in geophysical or engineering applications.

Installation

To install pyTAMS from GitHub repository, do:

git clone git@github.com:nlesc-eTAOC/pyTAMS.git
cd pyTAMS
python -m pip install .

Quick start

To get started with pyTAMS, let's have a look at the classical double-well potential case. Although it is not a high-dimensional system, it provides a good overview of pyTAMS capabilities. A 3D version of the double-well is available in the examples folder. To run the case, simply do:

cd examples
python doubleWell3D.py -i input_dw3D.toml

This minimal example runs TAMS 10 times in order to get an estimate of the transition probability as well as the corresponding standard error. For a more in-depth explanation about this case, setting up the model and running the simulations, have a look at the tutorial here.

Documentation

doc

pyTAMS documentation is hosted on GitHub here

Contributing

If you want to contribute to the development of pyTAMS, have a look at the contribution guidelines.

Acknowledgements

The development of pyTAMS was supported by the Netherlands eScience Center in collaboration with the Institute for Marine and Atmospheric research Utrecht IMAU.

This package was created with Cookiecutter and the NLeSC/python-template.

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

pytams-0.0.5.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

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

pytams-0.0.5-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file pytams-0.0.5.tar.gz.

File metadata

  • Download URL: pytams-0.0.5.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pytams-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4d8a781f3ad7e65abdeec40522ebbc60e866dabf68f2a9966492fbb7e9da4e66
MD5 367e2d8908068ddebbc166a3554ab6e5
BLAKE2b-256 9d2875a446aa56514dfd08b0a240e39a40ee3e52588ab7db3fe3e5e8c1356940

See more details on using hashes here.

File details

Details for the file pytams-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pytams-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for pytams-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 04ffab45e2a533940c0a06a6d4406fe02a14a2fdc962b5e03068fe9f472543cc
MD5 d05b03c85721892e54d589bcd6b5bf24
BLAKE2b-256 683639035fd2a6e68397576f2f2482de4c348fe4aec036fe882a6240492da3db

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