broadened_cross_sections_from_base

Function broadened_cross_sections_from_base 

Source
pub fn broadened_cross_sections_from_base(
    energies: &[f64],
    base_xs: &[Vec<f64>],
    resonance_data: &[ResonanceData],
    temperature_k: f64,
    instrument: Option<&InstrumentParams>,
) -> Result<Vec<Vec<f64>>, TransmissionError>
Expand description

Compute Doppler-broadened cross-sections from precomputed unbroadened cross-sections.

Returns Doppler-only cross-sections. Resolution broadening is NOT applied (issue #442: must be applied after Beer-Lambert on total T).

Like broadened_cross_sections but skips the expensive Reich-Moore calculation (step 1). Use unbroadened_cross_sections to compute base_xs once, then call this function repeatedly with different temperatures.