The results submodule
rsutil.results provides versioned, unit-aware result contracts for
RS-LMTO runs. Parsers retain source provenance and diagnostics instead of
silently guessing when a file is malformed, ambiguous, unsupported, or uses
an unestablished unit.
SCF and exchange results
Use parse_run() or parse_report() for SCF evidence. An
SCFResult contains convergence state, energies, Fermi energy, site
moments, validation diagnostics, and source-file hashes. Exchange tables are
parsed with parse_exchange_results() and represented as an
ExchangeSet of InteractionRecord objects keyed by canonical
PairKey values. Scalar J, DMI D, anisotropic Aij, and the
derived full tensor remain separate fields; source units are preserved.
Transport and damping
The transport boundary is explicit. Stable supported conductivity and
damping records use ConductivityResult and DampingResult;
ambiguous or unsupported source formats return an
UnsupportedTransportResult with the reason and provenance rather than
inventing a parser contract. See RS-LMTO transport and damping format audit for the
format audit and support boundary.
Tight binding and ML export
TightBindingModel is a typed sparse/list representation of a real-space
Hamiltonian. It supports the versioned fable_v4 metadata/hopping files,
legacy reader conversion, H(k) reconstruction, eigenvalues, and a
versioned NPZ/JSON ML export. Spin/SOC metadata and control%nsp semantics
are retained; unsupported representations fail explicitly.
Units
Quantity attaches an explicit Unit to scalar and structured
values. Parsing does not convert source values. Conversion is opt-in and is
currently defined for the Ry/mRy pair used by interaction outputs.