rgpycrumbs.eon.plt_neb¶
Plots Nudged Elastic Band (NEB) reaction paths and landscapes.
Added in version 0.0.2.
This script provides a command-line interface (CLI) to visualize data generated from NEB calculations. It can plot:
Energy/Eigenvalue Profiles: Shows the evolution of the energy or lowest eigenvalue along the reaction coordinate. It can overlay multiple paths (e.g., from different optimization steps) and use a physically-motivated Hermite spline interpolation using force data.
2D Reaction Landscapes: Plots the path on a 2D coordinate system defined by the Root Mean Square Deviation (RMSD) from the reactant and product structures. This requires the ‘ira_mod’ library. It can also interpolate and display the 2D energy/eigenvalue surface.
The script can also render atomic structures from a .con file as insets on the plots for key points (reactant, saddle, product).
This script follows the guidelines laid out here: https://realpython.com/python-script-structure/
Attributes¶
Functions¶
|
Lazy adjustText (ensure_import when AUTO_DEPS is on). |
|
Run the eOn NEB plot pipeline from a resolved settings mapping. |
|
CLI entry: merge flags/config then run plot_neb_from_settings. |
Module Contents¶
- rgpycrumbs.eon.plt_neb.adjust_text(*args, **kwargs)[source]¶
Lazy adjustText (ensure_import when AUTO_DEPS is on).
- rgpycrumbs.eon.plt_neb.plot_neb_from_settings(settings: dict[str, Any]) pathlib.Path | None[source]¶
Run the eOn NEB plot pipeline from a resolved settings mapping.
Prefer
plot_neb()for library callers. This entry is the shared implementation used by the Click CLI afterresolve_from_click.Parameters¶
- settings:
Mapping from
rgpycrumbs.eon.plot_config.merge_plot_settings()(orresolve_from_click).
Returns¶
- pathlib.Path | None
Output path when a figure is written.
Added in version 1.10.2.