Expand description
SAMMY test-suite file parsers.
Parses SAMMY .par (resonance parameters), .inp (input configuration),
and .plt (plot reference output) files from the samtry/ test suite.
These parsers are intentionally minimal — they cover the subset of SAMMY’s
format needed for Phase 1 transmission validation (issue #292).
§SAMMY Reference
- SAMMY Manual, Section 2 (input file format)
- SAMMY Manual, Section 8 (parameter file format)
samtry/tr007/,samtry/tr004/, etc. for concrete examples
Structs§
- Isotopic
Mass - Per-isotope mass and abundance entry from “ISOTOPIC MASSES AND ABUNDANCES
FOLLOW” section in a SAMMY
.parfile. - Sammy
InpConfig - Beamline and sample configuration from a SAMMY
.inpfile. - Sammy
ParFile - Parsed SAMMY
.parfile. - Sammy
Parse Error - Error from parsing a SAMMY file.
- Sammy
PltRecord - A single record from a SAMMY
.pltreference output file. - Sammy
Resonance - A single resonance from a SAMMY
.parfile. - Sammy
Spin Group - Spin group definition from
.inpCard Set 10.
Enums§
- Sammy
Observation Type - Observation type parsed from the SAMMY
.inpkeyword block.
Functions§
- parse_
sammy_ inp - Parse a SAMMY
.inpfile (minimal, for Phase 1 transmission cases). - parse_
sammy_ par - Parse a SAMMY
.parfile (resonance parameters). - parse_
sammy_ plt - Parse a SAMMY
.pltfile (5-column reference output with header). - sammy_
to_ nereids_ resolution - Convert SAMMY resolution parameters to NEREIDS-convention values.
- sammy_
to_ resonance_ data - Convert parsed SAMMY
.par+.inpinto a NEREIDSResonanceData. - sammy_
to_ resonance_ data_ multi - Convert parsed SAMMY
.par+.inpinto multiple(ResonanceData, abundance)pairs.