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//! - [`pipeline`] — Single-spectrum analysis pipeline (fit_spectrum_typed)
10//! - [`spatial`] — Per-pixel parallel mapping with rayon (spatial_map_typed)
11//! - [`detectability`] — Trace-detectability analysis (pre-experiment SNR check)
12
13pub mod calibration;
14pub mod detectability;
15pub mod error;
16/// Test utility: synthetic noise generation for integration tests.
17pub(crate) mod noise;
18pub mod pipeline;
19pub mod spatial;
20
21#[cfg(test)]
22mod test_helpers;