pub struct RoomBackground {
pub rate: Value,
pub frames: [f64; 2],
}Expand description
Counts that arrive at the same rate at every time of every frame, in
both runs alike, whatever the proton charge and whatever is in front of
the pixels, such as the detector’s dark counts: ρ per µs per pixel per
frame, ρ · w_k · F per pixel in a bin of width w_k of a run of F
frames.
Fields§
§rate: Valueρ, 0 or more.
frames: [f64; 2]The frames each run recorded, the open-beam run’s then the sample run’s, finite and positive.
Trait Implementations§
Source§impl Clone for RoomBackground
impl Clone for RoomBackground
Source§fn clone(&self) -> RoomBackground
fn clone(&self) -> RoomBackground
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 RoomBackground
impl Debug for RoomBackground
Source§impl PartialEq for RoomBackground
impl PartialEq for RoomBackground
impl Copy for RoomBackground
impl StructuralPartialEq for RoomBackground
Auto Trait Implementations§
impl Freeze for RoomBackground
impl RefUnwindSafe for RoomBackground
impl Send for RoomBackground
impl Sync for RoomBackground
impl Unpin for RoomBackground
impl UnsafeUnpin for RoomBackground
impl UnwindSafe for RoomBackground
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