SpecOutputParser
- class ase2sprkkr.outputs.readers.spec.SpecOutputParser(print_info=False)[source]
Reader for the main text output produced by KKRSPEC.
Class hierarchy
Constructor
- __init__(print_info=False)
- _DIAGRAM = re.compile('^\\s*(?:i\\s*\\(e\\)\\s*-?diagram|rotation diagram|scattering-angle diagram,?)\\s*$', re.IGNORECASE)
- _D_NUMBER = re.compile('\\s*[+-]?\\d\\.\\d{5}[dD][+-]\\d{2}\\s*\\Z')
- classmethod parse_spleed_intensity(lines)[source]
Extract the first SPLOUT D12.5,2X,D12.5 table from SPEC.out.
The diagram is part of NOUT1, not another result file. Stop at the first non-record after data begins; do not collect later diagnostics. Return None when only a seven-column diagram or no table is present.