Skip to main content

Module pipeline

Module pipeline 

Source
Expand description

Single-spectrum analysis pipeline.

Orchestrates the full analysis chain for a single transmission spectrum: ENDF loading → cross-section calculation → broadening → fitting.

This is the building block for the spatial mapping pipeline.

Uses UnifiedFitConfig with SolverConfig and typed InputData variants.

Structs§

BackgroundConfig
SAMMY-style normalization and background configuration.
CountsBackgroundConfig
Background model for the counts fitting engine.
ExactCountResponseConfig
Source and detector-bin information required for exact resolved-count fits.
ModelJacobianResult
Result of Jacobian/Fisher evaluation at given parameters.
MultiplicativeBaselineConfig
Bounded multiplicative polynomial baseline (issue #635): y(E) = (b0 + b1·z + b2·z²) · T_model(E) with z = ln(E/E_ref) and E_ref = √(E_min·E_max) of the fit grid.
PrecomputedXs
SpectrumFitResult
Result of fitting a single spectrum.
UnifiedFitConfig
Unified fit configuration for all data types and solvers.

Enums§

FitConfigError
Errors from FitConfig construction.
InputData
Typed input data — makes the data format explicit at the API boundary.
SolverConfig
Solver-specific configuration.

Functions§

evaluate_jacobian_and_fisher
fit_spectrum_typed
Fit a single spectrum using the typed input data API.