pub struct NexusHistogramData {
pub counts: Array3<f64>,
pub tof_edges_us: Vec<f64>,
pub flight_path_m: Option<f64>,
pub dead_pixels: Option<Array2<bool>>,
pub n_rotation_angles: usize,
pub event_stats: Option<EventRetentionStats>,
}Expand description
Histogram data loaded from a NeXus file, ready for NEREIDS processing.
Fields§
§counts: Array3<f64>Counts array in NEREIDS convention: (n_tof, height, width).
tof_edges_us: Vec<f64>TOF bin edges in microseconds.
flight_path_m: Option<f64>Flight path in meters, if available from the file.
dead_pixels: Option<Array2<bool>>Dead pixel mask from /entry/pixel_masks/dead, if present.
n_rotation_angles: usizeNumber of rotation angles summed (D-5). 1 means no collapse occurred.
event_stats: Option<EventRetentionStats>Event retention statistics (only populated for event-mode loading).
Trait Implementations§
Source§impl Clone for NexusHistogramData
impl Clone for NexusHistogramData
Source§fn clone(&self) -> NexusHistogramData
fn clone(&self) -> NexusHistogramData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NexusHistogramData
impl RefUnwindSafe for NexusHistogramData
impl Send for NexusHistogramData
impl Sync for NexusHistogramData
impl Unpin for NexusHistogramData
impl UnsafeUnpin for NexusHistogramData
impl UnwindSafe for NexusHistogramData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more