Skip to main content

load_nexus_histogram

Function load_nexus_histogram 

Source
pub fn load_nexus_histogram(path: &Path) -> Result<NexusHistogramData, IoError>
Expand description

Load histogram data from a NeXus file.

Reads /entry/histogram/counts (u64 4D), sums over the rotation angle axis (axis 0), converts to f64, and transposes to NEREIDS convention (tof, y, x). TOF values are converted from nanoseconds to microseconds.