Skip to content

stb-structural

Structure Analyzer · menu code 2.4 · guide: 2.4 Structure Analyzer

usage: stb-structural [-h] --file FILE --format {fdf,struct_out} --mode {list,mean}
                      [--list LIST] [-o OUTPUT_DIR] [--no-rdf] [--rdf-rmax RDF_RMAX]
                      [-v] [--no-intro]

Compute ECN and structural properties from a SIESTA structure file.

options:
  -h, --help            show this help message and exit
  --file FILE           Path to structure file.
  --format {fdf,struct_out}
                        Input file format:
                          fdf:        SIESTA structure input (%block LatticeVectors etc.)
                          struct_out: SIESTA post-relaxation output (.STRUCT_OUT)
  --mode {list,mean}    Calculation mode: list or mean
  --list LIST           List of atom indices (comma-separated, 1-based). Example: 1,4,5,7 - Required for 'list' mode
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Directory to write rdf.dat into (the report and its references file go to the current folder) (default: current directory). Created if it doesn't exist.
  --no-rdf              Skip the radial distribution function g(r) (rdf.dat is not written).
  --rdf-rmax RDF_RMAX   Cutoff radius for g(r), in Å (default: 10.0). Larger values capture more coordination shells but take longer for large structures.
  -v, --version         show program's version number and exit
  --no-intro            Do not show the introduction

Example usage:
  stb-structural --file structure.fdf --format fdf --mode mean
  stb-structural --file siesta.STRUCT_OUT --format struct_out --mode list --list 1,4,5
  stb-structural --file structure.fdf --format fdf --mode mean