Skip to main content

nereids_pipeline/
lib.rs

1//! # nereids-pipeline
2//!
3//! End-to-end orchestration for neutron resonance imaging analysis.
4//!
5//! This crate ties together all NEREIDS components into a complete pipeline:
6//! data loading → normalization → forward model → fitting → spatial mapping.
7//!
8//! ## Modules
9//! - [`calibration`] — Energy calibration for TOF neutron instruments (t0 + flight-path scale)
10//! - [`detectability`] — Trace-detectability analysis (pre-experiment SNR check)
11//! - [`error`] — Pipeline error types
12//! - [`pipeline`] — Single-spectrum analysis pipeline (fit_spectrum_typed)
13//! - [`spatial`] — Per-pixel parallel mapping with rayon (spatial_map_typed)
14
15pub mod calibration;
16pub mod detectability;
17pub mod error;
18pub mod pipeline;
19pub mod spatial;