pub enum InputData3D<'a> {
Transmission {
transmission: ArrayView3<'a, f64>,
uncertainty: ArrayView3<'a, f64>,
},
Counts {
sample_counts: ArrayView3<'a, f64>,
open_beam_counts: ArrayView3<'a, f64>,
},
CountsWithNuisance {
sample_counts: ArrayView3<'a, f64>,
flux: ArrayView3<'a, f64>,
background: ArrayView3<'a, f64>,
},
}Expand description
3D input data for spatial mapping.
The outer dimension is energy (axis 0), inner dimensions are spatial (y, x).
The two variants correspond to InputData but carry 3D arrays.
Variants§
Transmission
Pre-normalized transmission + uncertainty.
Counts
Raw detector counts + open beam reference.
CountsWithNuisance
Raw detector counts with explicit nuisance spectra.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for InputData3D<'a>
impl<'a> RefUnwindSafe for InputData3D<'a>
impl<'a> Send for InputData3D<'a>
impl<'a> Sync for InputData3D<'a>
impl<'a> Unpin for InputData3D<'a>
impl<'a> UnsafeUnpin for InputData3D<'a>
impl<'a> UnwindSafe for InputData3D<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more