rgpycrumbs.surrogate.plt_band

Draw the band of a surrogate-assisted NEB: profile, evolution, landscape.

Added in version 1.12.0.

Reads one search directory with a chemparseplot parser and draws

  • profile: surrogate mean along the path, uncertainty ribbon when the producer recorded one, the true energies at the images and the oracle evaluations projected onto the path (--observation-mode says how their distance from the path is shown);

  • evolution: the band over outer iterations (snapshots), or the record of which image the oracle was called on when only the final band exists;

  • landscape: the reaction-valley landscape of rgpycrumbs eon plt-neb (progress s against orthogonal deviation d, drawn by the same chemparseplot functions) with the GP energy surface fitted to the oracle evaluations, the evaluations as dots, the final path, the climbing image and the reported saddle, each in the legend. Needs jax (in the script metadata).

Prefer the dispatcher:

rgpycrumbs surrogate plt-band results/rec/baker/25_hcnh2 -o figs/hcnh2
rgpycrumbs surrogate plt-band run/ --producer ml-neb --panel profile

Files are <prefix>-profile, -evolution and -landscape (the last only when the producer kept the geometries of its evaluations). Output is byte-reproducible; each file embeds the SHA-256 of the inputs and the tool versions, and a .provenance.json sits beside it.

Attributes

Functions

main(*, search, prefix, producer, panels, energy_unit, ...)

Draw the band profile, its evolution and the reaction-valley landscape.

Module Contents

rgpycrumbs.surrogate.plt_band.warn_on_direct_script_import = None[source]
rgpycrumbs.surrogate.plt_band.main(*, search, prefix, producer, panels, energy_unit, fmt, dpi, font, font_dirs, title, profile_observations, label_critical_points, plot_structures, n_structures, types_from, strip_renderer, landscape_surface, landscape_window, landscape_xlim, landscape_ylim, landscape_color, landscape_fade_variance, landscape_label_every, observation_mode, observation_distance, legend_fontsize)[source]

Draw the band profile, its evolution and the reaction-valley landscape.