stb-nativecharges¶
Native Charges · menu code 2.19 · guide: 2.19 Native Charges
usage: stb-nativecharges [-h] [--path PATH] [-l LABEL] [--details] [--csv CSV]
[--no-intro] [-v]
Read and compare the atomic charges SIESTA prints in its log -- Mulliken (WriteMullikenPop 1),
Hirshfeld (Charge.Hirshfeld end) and Voronoi (Charge.Voronoi end): per atom side by side, per
species, the spread between methods, checks (sum = net charge, population + q = Z_val, sum of Sz =
spin moment) and, for a molecule or slab, the dipole of the point charges vs SIESTA's. Several
folders (a glob) give one table per species. No new partitioning is computed (Hirshfeld-I: 5.17,
Bader: 2.6).
options:
-h, --help show this help message and exit
--path PATH Directory to inspect, or a glob pattern (e.g. 'strain_*') matching several directories
(default: current directory).
-l LABEL, --label LABEL
SystemLabel override, applied to every directory. Auto-detected per directory from its
.fdf file(s) if not given.
--details With several folders, also print the full report of each one.
--csv CSV Also write every atom's charges (all folders, all methods) as CSV.
--no-intro Do not show the introduction
-v, --version show program's version number and exit
Example usage:
stb-nativecharges # this folder
stb-nativecharges --path nacl # another folder
stb-nativecharges --path 'h2o_basis/*' # a series: one table per species and method
stb-nativecharges --path 'h2o_basis/*' --csv charges.csv