Skip to content

stb-nebAnalysis

Stage 2 - Analysis of the 5.9 NEB / Reaction Path workflow · menu code 5.9.2

usage: stb-nebAnalysis [-h] [--dir DIR] [--file FILE] [-o OUTPUT]
                       [--apply STRUCTURE_FDF] [--force-tolerance FORCE_TOLERANCE]
                       [--save-gnuplot] [--view] [--view-path] [--save-path-xyz] [-v]
                       [--no-intro]

Computes a NEB energy profile from an stb-neb band: reads each image_NN/'s SIESTA single-point energy and estimates the reaction barrier from the highest-energy image.

options:
  -h, --help            show this help message and exit
  --dir DIR             Root directory containing every 'image_NN/' (default: 'neb_run', the self-contained run folder stb-neb --Stage 1 always writes its output into -- auto-detected as '.' instead when the current directory already has its own neb_setup.json, e.g. right after stb-neb's own printed cluster-submission snippet left you inside neb_run/ already).
  --file FILE           SIESTA output filename inside each folder (default: calc.out).
  -o OUTPUT, --output OUTPUT
                        Base filename for the gnuplot data file (default: neb_curve.dat), written under '<dir>/plot/' -- only relevant with --save-gnuplot.
  --apply STRUCTURE_FDF
                        Copy the highest-energy image's structure.fdf (the approximate transition-state guess) to this path.
  --force-tolerance FORCE_TOLERANCE
                        Residual atomic force in eV/Ang (default: 0.05, same as stb-adsorbAnalysis/stb-cohesiveAnalysis) above which an image's calc.out is flagged as possibly not relaxed. Advisory only, never blocks the result.
  --save-gnuplot        Also save the energy-profile curve as gnuplot .dat + .gplot scripts, under '<dir>/plot/'. Off by default.
  --view                View the energy-profile plot interactively via matplotlib now, in addition to always saving it as a PNG. Off by default. Needs a display.
  --view-path           Open every image's structure (in band order) in ASE's interactive multi-frame 3D viewer, to step through the reaction path -- after everything else has finished. Needs a display. Independent of --view (which shows the energy-vs-reaction-coordinate plot, not structures).
  --save-path-xyz       Write the currently-analyzed band (the same images used for [1] IMAGE ENERGIES above -- the latest complete cycle for --mode 2/3, converged or not) as a single multi-frame XYZ trajectory, '<dir>/neb_path_current.xyz'. Off by default. Distinct from stb-neb's own 'neb_path.xyz', which is written once at prep time from the pre-refinement path and never updated afterwards.
  -v, --version         show program's version number and exit
  --no-intro            Do not show the introduction

Usage examples:
  stb-nebAnalysis                              # analyzes ./neb_run by default
  stb-nebAnalysis --dir . --file calc.out
  stb-nebAnalysis --apply ts_guess.fdf
  stb-nebAnalysis --save-gnuplot --view
  stb-nebAnalysis --view-path
  stb-nebAnalysis --save-path-xyz