pub struct PointResidual {
pub index: usize,
pub line: usize,
pub model_ev_1e15_cm2: f64,
pub measured_ev_1e15_cm2: f64,
pub relative: f64,
pub absolute_ev_1e15_cm2: f64,
pub pull: Option<f64>,
}Expand description
Model-versus-measurement residual at one point.
Sign convention: positive means the model is above the measurement.
Fields§
§index: usizeIndex of the point in StoppingDataset::points.
line: usizeSource line of the point.
model_ev_1e15_cm2: f64Model stopping per (average) atom, eV·10⁻¹⁵ cm².
measured_ev_1e15_cm2: f64Measured stopping, eV·10⁻¹⁵ cm².
relative: f64model / measured − 1.
absolute_ev_1e15_cm2: f64model − measured, eV·10⁻¹⁵ cm².
pull: Option<f64>(model − measured) / sigma, or None when no uncertainty was stated
(sigma 0).
Trait Implementations§
Source§impl Clone for PointResidual
impl Clone for PointResidual
Source§fn clone(&self) -> PointResidual
fn clone(&self) -> PointResidual
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PointResidual
Source§impl Debug for PointResidual
impl Debug for PointResidual
Source§impl PartialEq for PointResidual
impl PartialEq for PointResidual
impl StructuralPartialEq for PointResidual
Auto Trait Implementations§
impl Freeze for PointResidual
impl RefUnwindSafe for PointResidual
impl Send for PointResidual
impl Sync for PointResidual
impl Unpin for PointResidual
impl UnsafeUnpin for PointResidual
impl UnwindSafe for PointResidual
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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