Skip to main content

Crate nereids_pipeline

Crate nereids_pipeline 

Source
Expand description

§nereids-pipeline

End-to-end orchestration for neutron resonance imaging analysis.

This crate ties together all NEREIDS components into a complete pipeline: data loading → normalization → forward model → fitting → spatial mapping.

§Modules

  • beam — The beam before the sample, per µs of flight time
  • calibration — Energy calibration for TOF neutron instruments (t0 + flight-path scale)
  • counts_fit — Densities, temperature, normalization and background fitted to the open-beam and sample counts (fit_counts)
  • detectability — Trace-detectability analysis (pre-experiment SNR check)
  • error — Pipeline error types
  • open_beam — The beam fitted to the open-beam counts (fit_open_beam)
  • pipeline — Single-spectrum analysis pipeline (fit_spectrum_typed)
  • spatial — Per-pixel parallel mapping with rayon (spatial_map_typed)

Modules§

beam
The beam before the sample: neutrons per µs of flight time.
calibration
Energy calibration for TOF neutron instruments.
counts_fit
The areal densities of a sample’s isotopes, its temperature, and the sample run’s normalization and background, fitted to the counts of an open-beam run and a sample run recorded in the same time bins.
detectability
Trace-detectability analysis for neutron resonance imaging.
error
Error types for the nereids-pipeline crate.
joint_fit
Fit a sample together with the calibrant that measured its resolution.
open_beam
The beam, in neutrons per µs of flight time, fitted to the open-beam counts it produces through the instrument pulse.
pipeline
Single-spectrum analysis pipeline.
spatial
Spatial mapping: per-pixel fitting with rayon parallelization.