stb-bands¶
Bands Analyzer · menu code 2.1 · guide: 2.1 Bands Analyzer
usage: stb-bands [-h] [--label LABEL] [--file INPUT_FILE] --shift
{vbm,cbm,fermi,manual} [--manual-value MANUAL_VALUE]
[--gap-tol GAP_TOL] [--eig-file EIG_FILE] [--kp-file KP_FILE]
[-o OUTPUT_DIR] [-v] [--no-intro]
Process the band structure data.
options:
-h, --help show this help message and exit
--label LABEL SIESTA output label (e.g. 'siesta'). Shorthand for --file <label>.bands, and auto-detects <label>.EIG next to it for the mesh (k-grid) gap comparison -- if that .EIG isn't there, the mesh comparison is skipped rather than treated as an error. Also auto-detects <label>.KP (mesh k-point coordinates) alongside the .EIG, if present. Mutually exclusive with --file/--eig-file/--kp-file.
--file INPUT_FILE Path to the input file containing band structure data (e.g., siesta.bands). Alternative to --label when you need an explicit path.
--shift {vbm,cbm,fermi,manual}
Reference energy shift:
- 'vbm' : Valence Band Maximum
- 'cbm' : Conduction Band Minimum
- 'fermi' : Fermi level
- 'manual' : Custom shift value (requires --manual-value).
--manual-value MANUAL_VALUE
Custom energy shift value (required if --shift manual is used).
--gap-tol GAP_TOL Energy tolerance in eV below which a gap is classified as Metallic (default: 0.01).
--eig-file EIG_FILE Optional SIESTA .EIG file (full k-mesh eigenvalues from the SCF run). When given, compares the k-mesh gap against the k-path gap from --file -- the high-symmetry path may not pass through the true VBM/CBM. Requires sisl.
--kp-file KP_FILE Optional SIESTA .KP file matching --eig-file's k-mesh (Cartesian kx,ky,kz in 1/Ang). When given, mesh VBM/CBM/direct-gap k-points are reported as (kx, ky, kz) instead of a bare mesh index. Requires --eig-file.
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Directory to write bands_gnuplot.dat and bands.gplot into (the report and its references file go to the current folder) (default: current directory). Created if it doesn't exist.
-v, --version show program's version number and exit
--no-intro Do not show the introduction
Example usage:
stb_bands --label siesta --shift fermi
stb_bands --file siesta.bands --shift fermi
stb_bands --file siesta.bands --shift manual --manual-value 0.5
stb_bands --file siesta.bands --shift fermi --gap-tol 0.05
stb_bands --file siesta.bands --shift fermi --eig-file siesta.EIG
stb_bands --file siesta.bands --shift fermi