Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danieljsharpe/DISCOTRESS_tutorials
Learn to get started using DISCOTRESS with these tutorials! Then apply to your own Markov chains in ecology π¦π΄ economics πΈπ biophysics π§¬π¦ and more!
https://github.com/danieljsharpe/DISCOTRESS_tutorials
ctmc discrete-event-simulation dtmc kinetic-monte-carlo markov-chain markov-decision-process markov-decision-processes markov-model markov-process markovian-dynamics network-dynamics random-walk rare-events simulation stochastic-dynamics stochastic-simulation stochastic-simulation-algorithm tutorials
Last synced: 14 days ago
JSON representation
Learn to get started using DISCOTRESS with these tutorials! Then apply to your own Markov chains in ecology π¦π΄ economics πΈπ biophysics π§¬π¦ and more!
- Host: GitHub
- URL: https://github.com/danieljsharpe/DISCOTRESS_tutorials
- Owner: danieljsharpe
- Created: 2020-09-24T11:34:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-12T19:15:34.000Z (about 3 years ago)
- Last Synced: 2024-06-01T14:32:48.765Z (5 months ago)
- Topics: ctmc, discrete-event-simulation, dtmc, kinetic-monte-carlo, markov-chain, markov-decision-process, markov-decision-processes, markov-model, markov-process, markovian-dynamics, network-dynamics, random-walk, rare-events, simulation, stochastic-dynamics, stochastic-simulation, stochastic-simulation-algorithm, tutorials
- Language: Brainfuck
- Homepage:
- Size: 5.43 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DISCOTRESS tutorials
Learn to get started using [DISCOTRESS](https://github.com/danieljsharpe/DISCOTRESS) with these tutorials, then apply the methods to your own Markov chains!
Numerical estimate of the π β π first passage time (FPT) distribution from dynamical simulations; one of many quantities that can be computed using DISCOTRESS.
Finite Markov chains are network models that can be used to model phenomena as varied and exciting as:
- animal movement within an ecosystem, such as migration :bird: :parrot: or foraging :elephant: :palm_tree:
- the variation in populations of species within an ecosystem, for example arising from predator-prey interactions :wolf: :deer:, competition for limited resources :bear: :fish:, or the introduction of a parasite :mosquito: or invasive species :snake:
- the evolution of organisms or genes characterised by the fitness for their environment :giraffe: :turtle:
- epidemic spread of a disease in a population :microbe: :syringe:
- climate dynamics :sun_behind_rain_cloud: :tornado:
- the fluctuating status of financial markets :money_with_wings: :chart_with_upwards_trend:
- social groups :family: :couple:
- structural changes in molecular and condensed matter systems, for example a protein or DNA molecule folding to its functional shape :dna: :atom_symbol:
- the distribution of molecule copy numbers in biochemical or chemical reaction cycles or gene regulatory networks :test_tube: :petri_dish:We are typically interested in a particular π β π first passage process on the Markov chain. That is, we wish to understand the dynamical process of first hitting an absorbing (target) set of nodes π for paths beginning within the initial set of nodes π . We may want to know: what is the average time to reach the π state? Which nodes are most likely to be visited along an π β π path? How many times is each node visited along an π β π path on average? If the π β π transition is slow (i.e. low probability) compared to random fluctuations, then linear algebra methods to solve for exact dynamical properties are numerically unstable and the standard kinetic Monte Carlo method to simulate paths is inefficient and therefore unfeasible. DISCOTRESS includes implementations of advanced algorithms that negate these problems. The software is highly flexible, and can also be used to efficiently simulate long-timescale trajectories that are not conditioned on initial and target states.
## Overview of tutorials
The following tutorials use simple example Markov chains to demonstrate various key features of the algorithms available in DISCOTRESS, allowing you to familiarise yourself with the capabilities and flexibility of the software:
- **mfpt\_ctmc**: you will learn to exactly compute key dynamical properties characterising an π β π transition in a continuous-time Markov chain (CTMC), using numerically stable state reduction algorithms. Namely: mean first passage times (MFPTs), committor and absorption probabilities, and the stationary distribution.
- **mfpt\_dtmc**: repeats the same exercise for a discrete-time Markov chain (DTMC).
- **kmc\_ab**: you will learn to use the standard kinetic Monte Carlo (kMC) algorithm to simulate π β π paths.
- **kps\_ab**: you will learn to use the kinetic path sampling (kPS) algorithm to simulate π β π paths.
- **kmc\_steadystate**: you will learn to use the kMC algorithm to simulate long trajectories of fixed time and extract steady-state (i.e. equilibrium) statistics for π β π transition paths.
- **dimredn**: you will learn to use kinetic path sampling (kPS) to simulate many short nonequilibrium trajectories initialised from each community, from which a coarse-grained Markov chain can be estimated and validated.
- **rea**: you will learn to use the recursive enumeration algorithm (REA) to determine the *k* π β π first passage paths associated with the highest probabilities.Scripts to help you process the output of DISCOTRESS simulations are available [here](https://github.com/danieljsharpe/DISCOTRESS_tools).