Introduction

NEREIDS (Neutron rEsonance REsolved Imaging Data analysis System) is a Rust-based library for neutron resonance imaging at the VENUS beamline, Spallation Neutron Source (SNS), Oak Ridge National Laboratory (ORNL).

What It Does

NEREIDS provides end-to-end analysis for time-of-flight (TOF) neutron resonance imaging: input hyperspectral TOF data, output spatially resolved isotopic and elemental composition maps.

The analysis pipeline:

  1. Load raw TOF imaging data (TIFF stacks, NeXus/HDF5, or pre-normalized transmission)
  2. Normalize sample and open-beam measurements to transmission
  3. Configure isotopes of interest using ENDF nuclear data
  4. Fit resonance models to measured transmission spectra
  5. Map fitted parameters (areal density, temperature) across each pixel

Three Deliverables

NEREIDS ships in three forms:

DeliverableUse case
Rust library (nereids-* crates)Embed in Rust applications, maximum performance
Python bindings (pip install nereids)Jupyter notebooks, scripting, integration with NumPy/SciPy
Desktop GUI (nereids-gui)Interactive analysis with visual feedback

NEREIDS landing page

Relationship to SAMMY

NEREIDS implements the same physics as SAMMY (a Fortran code for multilevel R-matrix analysis of neutron data, ORNL/TM-9179/R8), rewritten in Rust with modern tooling. All physics modules reference specific SAMMY source files and equation numbers in their documentation.

Key formalisms from SAMMY:

  • Reich-Moore R-matrix (LRF=3)
  • Single-Level Breit-Wigner (LRF=1/2)
  • R-Matrix Limited (LRF=7)
  • Free Gas Model Doppler broadening
  • Gaussian + exponential resolution broadening
  • Unresolved Resonance Region (LRU=2)

Next Steps