Skip to content

SPC result

SPCResult inherits from CalculationResult, which provides the shared header fields (lattice, atom types, system info, …) plus to_dict()/to_json() serialization.

SPCResult dataclass

Parsed result from an AkaiKKR SPC output file.

Attributes:

Name Type Description
spc_params SPCParams

SPC-specific parameters from the ***msg in spmain block.

iteration GOIteration | None

The single SCF iteration recorded in the file, or None if the iteration block is absent.

spectral_up SpectralFunction | None

Spin-up Bloch spectral function, or None if the corresponding data file was not found.

spectral_down SpectralFunction | None

Spin-down Bloch spectral function, or None if the corresponding data file was not found.

SPCParams dataclass

SPC-specific computational parameters from the ***msg in spmain block.

SpectralFunction dataclass

Bloch spectral function for one spin channel.

Attributes:

Name Type Description
spin str

Spin channel — "up" or "down".

kmesh KMeshInfo

k-mesh and energy-mesh metadata from the file header.

data ndarray | None

BSF intensity matrix of shape (n_energy, n_kpoints). None when n_sym_points == 0 (no k-path was computed).

KMeshInfo dataclass

k-mesh and energy-mesh metadata from a spectral function data file header.