mat-sample-pes-by-md
OfficialSample MLIP training data via MD + clustering
Education & Research#ase#molecular dynamics#matgl#potential energy surface#mlip sampling#structure clustering#crystal features
Authorlearningmatter-mit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill generates diverse, physically meaningful atomic configurations by sampling off-equilibrium potential energy surfaces (PES) with molecular dynamics (MD) and then selecting representative structures via latent-feature clustering.
Core Features & Use Cases
- Off-equilibrium MD sampling: Runs short MD trajectories at a chosen temperature to explore non-equilibrium configurations for MLIP/PES dataset augmentation.
- Crystal-feature extraction for clustering: Extracts crystal/latent features from MatGL or MACE models to represent each saved MD frame.
- Representative structure selection: Uses clustering (e.g., K-Means; plus small-dataset fallbacks) to downselect a smaller, diverse set of configurations for fine-tuning and benchmarking.
- Supercell expansion and stabilization: Automatically expands to a target atom count (with safety caps) and relaxes before MD to reduce instability from residual stress.
- Practical outputs for ML workflows: Writes sampled CIF structures and records metadata (sample indices and MD step positions), enabling downstream DFT labeling or MLIP training.
Quick Start
Use the mat-sample-pes-by-md skill to sample off-equilibrium PES configurations from LiMnO2 by running the provided run_sampling.py script on your input CIF with MatGL or MACE, setting total steps, temperature, number of clusters, and an output directory.
Dependency Matrix
Required Modules
argparsenumpyasepymatgenmatglmatcalcsklearntorchyamlscikit-learndgl
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mat-sample-pes-by-md Download link: https://github.com/learningmatter-mit/AtomisticSkills/archive/main.zip#mat-sample-pes-by-md Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.