AdaptivePy¶
AdaptivePy performs adaptive sampling on molecular dynamics trajectories using clustering-based state space partitioning and policy-driven seed selection. It also supports frame-level policies such as MaxEnt VAMPNet and TS-DAR, which score individual frames without clustering.
Install¶
For Torch-backed policies:
Quick links¶
- Getting Started — run your first analysis in minutes
- Configuration — YAML options and defaults
- Feature Inputs — supported file formats and layout
- CLI — command-line usage
- Python API — programmatic access
- API Reference — full module documentation
What it does¶
- Load per-trajectory feature arrays (
.npyor.pkl) - Cluster frames in feature space (skipped when only frame-level policies are used)
- Apply one or more adaptive policies (
least_counts,random,fast,ma_reap,knn_as,maxent_vampnet,ts_dar) - Select seed frames from chosen clusters or directly by frame-level scores
- Write metadata, assignments, policy-specific scores, and optional PDB structures
Example¶
See the Getting Started guide for a complete walkthrough.