Skip to main content

broadened_cross_sections_on_working_grid

Function broadened_cross_sections_on_working_grid 

Source
pub fn broadened_cross_sections_on_working_grid(
    energies: &[f64],
    resonance_data: &[ResonanceData],
    temperature_k: f64,
    instrument: Option<&InstrumentParams>,
    cancel: Option<&AtomicBool>,
) -> Result<WorkingGridXs, TransmissionError>
Expand description

Like broadened_cross_sections but returns the Doppler-broadened σ on the working grid (the data grid extended by the kernel’s reach, else the data grid) together with the WorkingGridLayout.

Returns σ on the working grid before Beer-Lambert and resolution. Extract the data points after those operations, as in forward_model.