Skip to main content

Python tools to post-process and analyze metadynamics / collective variable data

Project description

pycolvars

Python tools to post-process and analyze collective variable (CV) data from metadynamics and umbrella sampling simulations: reading colvars/PLUMED-style trajectory files, reconstructing free energy surfaces (PMF), and finding minimum energy paths across them.

This package was originally developed alongside sea_urchin and later split out as a standalone tool.

Installation

pip install -e .

Minimum energy path algorithm

pycolvars.min_energy_path finds the path between two basins on an energy surface that minimises the maximum energy barrier crossed (the minimax / bottleneck path). It uses the Minimum Spanning Tree of the grid connectivity graph (edge weight = max endpoint energy), which provably yields the optimal minimax path. k-th alternative paths are found by iteratively removing the bottleneck edge of the previous best path and recomputing.

This is a native implementation using networkx. It replaces an earlier vendored copy of MEPSAnd by Marcos-Alcalde et al.

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

pycolvars-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

pycolvars-0.1.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycolvars-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29011f2ea5ae0b303ef0b4a03fdf679ca37516078c0ebb0e7adc5985d42df7c7
MD5 48e71f55a06f0da906e4c705bc094664
BLAKE2b-256 16b30a7bbdf2ee7910553e512d6fa4c04f76c62ee8effb25f66a2dc3976077df

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on roncofaber/pycolvars

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

File details

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

File metadata

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

File hashes

Hashes for pycolvars-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9d01d0587709e4828b957ef30167e104fd0c52eaa4775967d287c6af807bcea
MD5 d77d7017fffa9e69965d061f67e0b311
BLAKE2b-256 81f171c9cf7ea5eb9ddbd39af4f414bf91ca219e2a6cb50c5afb0c87a08ace12

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on roncofaber/pycolvars

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