pub struct TwoArmCounts {
pub open_beam: Vec<f64>,
pub sample: Vec<f64>,
pub open_beam_window_loss: f64,
pub sample_window_loss: f64,
}Expand description
Expected detector-bin counts for the open-beam and sample measurements.
Fields§
§open_beam: Vec<f64>Open-beam expectation sum_j F_j R_i(E_j).
sample: Vec<f64>Sample expectation sum_j F_j T_j R_i(E_j).
open_beam_window_loss: f64Expected open-beam counts falling outside the supplied acquisition
window: sum_j F_j (1 - sum_i R_i(E_j)).
The quantified acquisition-window loss required by the pipeline-map contract (R5·7): window loss is disclosed here, never renormalized back into the window.
sample_window_loss: f64Expected sample counts falling outside the supplied acquisition
window: sum_j F_j T_j (1 - sum_i R_i(E_j)).
Trait Implementations§
Source§impl Clone for TwoArmCounts
impl Clone for TwoArmCounts
Source§fn clone(&self) -> TwoArmCounts
fn clone(&self) -> TwoArmCounts
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 moreSource§impl Debug for TwoArmCounts
impl Debug for TwoArmCounts
Source§impl PartialEq for TwoArmCounts
impl PartialEq for TwoArmCounts
impl StructuralPartialEq for TwoArmCounts
Auto Trait Implementations§
impl Freeze for TwoArmCounts
impl RefUnwindSafe for TwoArmCounts
impl Send for TwoArmCounts
impl Sync for TwoArmCounts
impl Unpin for TwoArmCounts
impl UnsafeUnpin for TwoArmCounts
impl UnwindSafe for TwoArmCounts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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