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.
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§

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