Skip to main content

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

Metadata

Release files for activepaths 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for activepaths 0.1.0
File Size Uploaded Provenance
activepaths-0.1.0.tar.gz 8.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for activepaths 0.1.0
File Interpreter ABI Platform
activepaths-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.9 kB

Release files / activepaths-0.1.0.tar.gz

Download URL activepaths-0.1.0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4f1660f76e9358698cc8797a3fddbef484b1944033b83857cecfc2aca1a71499
BLAKE2b-256 checksum
How to use checksums
53c8da90ee487c0a4eb1b90db02f201d532e0f2fb3e479699b3a91e6f0ffa622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

Release files / activepaths-0.1.0-py3-none-any.whl

Download URL activepaths-0.1.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cadcf1347b03ab44fe55f1898f3fec05a1d2e8dab55d32ae9a143ba957a97d33
BLAKE2b-256 checksum
How to use checksums
6b60442571c05528cd70e55e31cf4c662bc6e9d44d206c1e6765aab4de53a13d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

Security for activepaths 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for activepaths-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page