Tutorials¶
In addition to reading the documentation, we have prepared several examples to highlight the usage and capabilities of PyRETIS. The cards below point to the user-facing tutorial folders that ship with the source tree. Larger published-result packages that regenerate figures from validation studies are collected on the results page. The complete tutorial list is in the example section.
The examples below are grouped by what you are most likely to change:
the potential, the sampling method, the external dynamics engine, or the
molecular dynamics workflow. Each card links to the rendered
documentation and to the matching source folder under
examples/tutorials/.
Start here¶
Potentials¶
1D triple well
RETIS on a three-state landscape, including the zero_left
shortcut for the [0-] ensemble.
2D hysteresis
A two-dimensional internal potential where the best order parameter is deliberately less obvious.
Sampling methods¶
Infinite swapping
Asynchronous, parallel replica exchange driven by the
[runner] worker pool – the route for large rate-constant
runs.
Subtrajectory moves
Stone skipping, web throwing and wire fencing from Riccardi et al. (2017) and Zhang et al. (2023).
Umbrella sampling
Monte Carlo umbrella sampling for free-energy estimation alongside the rate-constant tutorials.
Permeability
A path-sampling setup using permeability = true in
[simulation] for membrane-style transport calculations.
Particle swarm
Use the PyRETIS library for a task it is not built for: particle-swarm optimisation of the Ackley function, with a new potential and a new engine.
REPPTIS
Replica-exchange partial-path TIS on the 1D double well, with the Markov-state-model kinetics analysis.
Both rates in one run
Bidirectional RETIS on an asymmetric double well: the rates of A to B and of B to A, and the equilibrium constant, from one simulation.