stb-effmass¶
Effective Mass / Velocity · menu code 2.16 · guide: 2.16 Effective Mass / Velocity
usage: stb-effmass [-h] [--label LABEL] [--wfsx WFSX] [--hsx-file HSX_FILE]
[--k-index K_INDEX | --k-point KX KY KZ] [--spin {0,1}] --band BAND
[--fermi FERMI] [--bands-file BANDS_FILE] [--fermi-file FERMI_FILE]
[--gap-tol GAP_TOL] [-o OUTPUT_DIR] [--save-gnuplot] [--view] [-v]
[--no-intro]
Effective mass tensor (Voigt) and band velocity for one chosen (k, band) eigenstate, from a SIESTA .WFSX + .HSX.
options:
-h, --help show this help message and exit
--label LABEL SIESTA output label. Auto-detects <label>.WFSX, falling back to <label>.selected.WFSX then <label>.bands.WFSX, and, unless --hsx-file overrides it, <label>.HSX (mandatory -- no approximate fallback). Mutually exclusive with --wfsx (not --hsx-file -- see its own help).
--wfsx WFSX Explicit path to the .WFSX file (alternative to --label).
--hsx-file HSX_FILE Explicit .HSX path. Required if --wfsx is used instead of --label; optional (and common) together WITH --label too, since the real file is often not literally named <label>.HSX.
--k-index K_INDEX 0-based index into the .WFSX's own k-point order (default: 0 if neither --k-index nor --k-point is given).
--k-point KX KY KZ Match by k-point vector instead of index (matched via sisl's read_eigenstate).
--spin {0,1} Spin channel (default: 0; must be 0 for a non-polarized calculation).
--band BAND Which band at the chosen k: an integer N (1-based), or 'vbm'/'cbm' (requires --fermi, --bands-file, --fermi-file, or an auto-detected .out log -- see below).
--fermi FERMI Fermi energy (eV) for --band vbm/cbm. Highest-priority source if given.
--bands-file BANDS_FILE
Companion .bands file to read the Fermi energy from, for --band vbm/cbm.
--fermi-file FERMI_FILE
Explicit SIESTA .out log to read the Fermi energy from, for --band vbm/cbm -- an alternative to --bands-file for a run with no saved .bands file. Not assumed to be named after --label.
--gap-tol GAP_TOL Energy tolerance in eV for VBM/CBM classification (default: 0.01). Same meaning as stb-bands/stb-fatbands/stb-wfdensity.
-o OUTPUT_DIR, --output-dir OUTPUT_DIR
Directory to write effmass.dat/velocity.dat (with --save-gnuplot) into (the report and its references file go to the current folder) (default: current directory). Created if it doesn't exist.
--save-gnuplot Also write effmass.dat/velocity.dat + a real .gplot bar-chart script. Off by default.
--view Show a matplotlib bar-chart preview (effective mass + velocity components) before finishing. Off by default.
-v, --version show program's version number and exit
--no-intro Do not show the introduction
Example usage:
stb-effmass --label siesta --band vbm --fermi -4.2
stb-effmass --label siesta --k-index 0 --band 1
stb-effmass --label siesta --band vbm --fermi-file calc.out \
--save-gnuplot --view