Skip to main content

A library for rare dynamical event sampling in non-equilibrium systems.

Project description

ActivePaths

Python NumPy Pytest PyPI License Version Maintained zread

A library for rare dynamical event sampling in non-equilibrium systems, based on Transition Path Sampling (RTP-TPS) and Variational Path Sampling (VPS).

Features

  • Rare Dynamical Event Sampling: Efficiently sample rare events in active matter systems.
  • RTP-TPS: Transition Path Sampling for Run-and-Tumble Particles.
  • VPS: Variational Path Sampling for computing large deviation functions.
  • Analysis Tools: Tools for estimating transition rates and large deviation rate functions.

Installation

pip install activepaths

Usage

RTP-TPS Example (Conceptual)

from activepaths.core import StateTuple
from activepaths.sampling.tps import is_reactive_indicator

# ... (Initialize trajectory and define reactant/product states) ...
# is_reactive = is_reactive_indicator(trajectory, is_reactant, is_product)

VPS Example (Conceptual)

from activepaths.sampling.vps import calculate_stochastic_action

# ... (Define system parameters and trajectory) ...
# action = calculate_stochastic_action(trajectory, mobility, force, dt, T)

Development

To set up the development environment:

git clone https://github.com/USER/activepaths.git
cd activepaths
pip install -e .
pip install -r requirements.txt
pytest

References

This project incorporates research from the following papers:

  • Transition-path sampling for Run-and-Tumble particles Thomas Kiechl, Thomas Franosch, Michele Caraglio arXiv:2411.12368

  • Variational path sampling of rare dynamical events Aditya N. Singh, Avishek Das, David T. Limmer arXiv:2502.01852

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

activepaths-0.1.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

activepaths-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file activepaths-0.1.0.tar.gz.

File metadata

  • Download URL: activepaths-0.1.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for activepaths-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f1660f76e9358698cc8797a3fddbef484b1944033b83857cecfc2aca1a71499
MD5 604f422567b184f3cc81c8d5e1beb543
BLAKE2b-256 53c8da90ee487c0a4eb1b90db02f201d532e0f2fb3e479699b3a91e6f0ffa622

See more details on using hashes here.

Provenance

The following attestation bundles were made for activepaths-0.1.0.tar.gz:

Publisher: publish.yml on kuslavicek/activepaths

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file activepaths-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: activepaths-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for activepaths-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cadcf1347b03ab44fe55f1898f3fec05a1d2e8dab55d32ae9a143ba957a97d33
MD5 c9d8d3be3b35bed71b51f8e257dc0f2e
BLAKE2b-256 6b60442571c05528cd70e55e31cf4c662bc6e9d44d206c1e6765aab4de53a13d

See more details on using hashes here.

Provenance

The following attestation bundles were made for activepaths-0.1.0-py3-none-any.whl:

Publisher: publish.yml on kuslavicek/activepaths

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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