pub struct SpinGroup {
pub j: f64,
pub parity: f64,
pub channels: Vec<RmlChannel>,
pub resonances: Vec<RmlResonance>,
pub has_background_correction: bool,
}Expand description
A spin group (J, π) in LRF=7 R-Matrix Limited format.
Groups all resonances with the same total angular momentum J and parity π. Each spin group has its own set of reaction channels.
Reference: ENDF-6 Formats Manual §2.2.1.6; SAMMY rml/mrml01.f
Fields§
§j: f64Total angular momentum J.
parity: f64Parity: +1.0 (even) or -1.0 (odd).
channels: Vec<RmlChannel>Reaction channels for this spin group.
resonances: Vec<RmlResonance>Resonances in this spin group.
has_background_correction: boolTrue when the ENDF file contained KBK > 0 or KPS > 0 background correction records for this spin group. The records are consumed by the parser but the background terms are not applied to the cross-section calculation (matching SAMMY behaviour: mrml10.f is a matrix utility, not a background reader; KPS is explicitly ignored in mrml07.f). Cross-sections computed for spin groups with background corrections are therefore approximate.