Skip to content

stb-hirshfeldAnalysis

Stage 3 - Analysis of the 5.17 Hirshfeld-I Charge Partitioning workflow · menu code 5.17.3

usage: stb-hirshfeldAnalysis [-h] [-O OUTPUT_DIR] [--tol E-] [--max-iter N]
                             [--ref REF] [--save-data] [--png] [--show] [--no-intro]
                             [-v]

Stage 3 of the Hirshfeld-I workflow: reads back every neutral+ion isolated-atom folder, then iterates the Hirshfeld-I reference-density refinement against the combined/production system's real density until convergence.

options:
  -h, --help            show this help message and exit
  -O OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Same root directory stb-hirshfeldPrep/Ions wrote into (default: hirshfeld_study).
  --tol E-              Convergence tolerance on max|Delta q| between rounds, in electrons (default: 0.005 e-, matching the method's own prototype). The report also estimates how far the charges still are from the fixed point, which can be 2-3 x this value when the iteration converges slowly.
  --max-iter N          Maximum number of refinement rounds (default: 20; the method's own prototype converged in 8).
  --ref REF             Path to a specific SIESTA output file to read each species' Z_val (valence charge) from -- same convention as stb-bader's own --ref. Overrides auto-detection of combined/'s own '*.out' (which assumes that log was left with a .out extension; use --ref if yours wasn't).
  --save-data           Write hirshfeld_charges.dat (per-atom charges by every method, populations, reference used), hirshfeld_iterations.dat (every atom's charge per iteration) and hirshfeld_charges.xyz (extended XYZ with the charges as per-atom columns; 'ase gui' colours atoms by the Hirshfeld-I charge). Off by default.
  --png                 Save the 6-panel dashboard (convergence, charge per iteration, methods per species, Hirshfeld-I vs Hirshfeld per atom, reference profiles, structure coloured by charge) as hirshfeld_analysis.png. Off by default.
  --show                Open the dashboard on screen (matplotlib). Needs a display. Off by default.
  --no-intro            Do not show the introduction
  -v, --version         show program's version number and exit