chemparseplot.parse.surrogate.mlneb#

Parser for ASE/CatLearn-style ML-NEB output.

The producer writes into a run directory

  • predicted.traj: the surrogate band of every iteration, one frame per image, info["results"]["uncertainty"] the predictive standard deviation;

  • evaluated.traj: the geometries sent to the oracle (reactant, product, then one per step) with true energies and forces;

  • ml_summary.txt / ml_time.txt: pipe tables per step.

Needs ase.

.. versionadded:: 1.10.0

Module Contents#

Functions#

read_pipe_table

Read a | a | b | table into columns; nan stays NaN and a Date column is kept as text.

_band_length

_fmax

parse_mlneb_run

Parse an ML-NEB run directory into a :class:SurrogateSearch.

Data#

API#

chemparseplot.parse.surrogate.mlneb.MATCH_TOLERANCE#

0.05

chemparseplot.parse.surrogate.mlneb.read_pipe_table(path: str | pathlib.Path) → dict[str, numpy.ndarray][source]#

Read a | a | b | table into columns; nan stays NaN and a Date column is kept as text.

chemparseplot.parse.surrogate.mlneb._band_length(frames) → int[source]#
chemparseplot.parse.surrogate.mlneb._fmax(forces: numpy.ndarray) → float[source]#
chemparseplot.parse.surrogate.mlneb.parse_mlneb_run(run_dir: str | pathlib.Path, *, label: str | None = None, force_tolerance: float | None = None) → chemparseplot.parse.surrogate.model.SurrogateSearch[source]#

Parse an ML-NEB run directory into a :class:SurrogateSearch.

Parameters

run_dir Directory with predicted.traj, evaluated.traj and ml_summary.txt (ml_time.txt is optional). force_tolerance Convergence threshold in eV/A; the files do not record it.