Skip to main content

load_nexus_histogram_with_mode

Function load_nexus_histogram_with_mode 

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

Load histogram data from a NeXus file with an explicit multi-angle handling policy. See MultiAngleMode for the options.

This is the explicit-opt-in variant behind load_nexus_histogram. Use it when you know the file may have multiple rotation angles and you have made a deliberate choice about how to combine them.