A library for rare dynamical event sampling in non-equilibrium systems.
Project description
ActivePaths
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f1660f76e9358698cc8797a3fddbef484b1944033b83857cecfc2aca1a71499
|
|
| MD5 |
604f422567b184f3cc81c8d5e1beb543
|
|
| BLAKE2b-256 |
53c8da90ee487c0a4eb1b90db02f201d532e0f2fb3e479699b3a91e6f0ffa622
|
Provenance
The following attestation bundles were made for activepaths-0.1.0.tar.gz:
Publisher:
publish.yml on kuslavicek/activepaths
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
activepaths-0.1.0.tar.gz -
Subject digest:
4f1660f76e9358698cc8797a3fddbef484b1944033b83857cecfc2aca1a71499 - Sigstore transparency entry: 883934652
- Sigstore integration time:
-
Permalink:
kuslavicek/activepaths@6b8272d5c5a968f4bfd613d2fd745c8af73408c7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kuslavicek
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6b8272d5c5a968f4bfd613d2fd745c8af73408c7 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cadcf1347b03ab44fe55f1898f3fec05a1d2e8dab55d32ae9a143ba957a97d33
|
|
| MD5 |
c9d8d3be3b35bed71b51f8e257dc0f2e
|
|
| BLAKE2b-256 |
6b60442571c05528cd70e55e31cf4c662bc6e9d44d206c1e6765aab4de53a13d
|
Provenance
The following attestation bundles were made for activepaths-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on kuslavicek/activepaths
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
activepaths-0.1.0-py3-none-any.whl -
Subject digest:
cadcf1347b03ab44fe55f1898f3fec05a1d2e8dab55d32ae9a143ba957a97d33 - Sigstore transparency entry: 883934691
- Sigstore integration time:
-
Permalink:
kuslavicek/activepaths@6b8272d5c5a968f4bfd613d2fd745c8af73408c7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kuslavicek
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6b8272d5c5a968f4bfd613d2fd745c8af73408c7 -
Trigger Event:
release
-
Statement type: