pub struct PsfResidual {
pub r_lo_m: f64,
pub r_hi_m: f64,
pub observed_ev: f64,
pub model_ev: f64,
pub std_err_ev: f64,
pub normalized: Option<f64>,
}Expand description
One bin of a fit: data, model and normalised residual.
Fields§
§r_lo_m: f64Inner edge, m.
r_hi_m: f64Outer edge, m.
observed_ev: f64Bin energy, eV.
model_ev: f64Fitted model energy in the bin, eV.
std_err_ev: f64Standard error of the bin energy, eV.
normalized: Option<f64>(observed - model) / std_err; None for a bin left out of the fit
(zero error).
Trait Implementations§
Source§impl Clone for PsfResidual
impl Clone for PsfResidual
Source§fn clone(&self) -> PsfResidual
fn clone(&self) -> PsfResidual
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 PsfResidual
Source§impl Debug for PsfResidual
impl Debug for PsfResidual
Source§impl<'de> Deserialize<'de> for PsfResidual
impl<'de> Deserialize<'de> for PsfResidual
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PsfResidual
impl PartialEq for PsfResidual
Source§impl Serialize for PsfResidual
impl Serialize for PsfResidual
impl StructuralPartialEq for PsfResidual
Auto Trait Implementations§
impl Freeze for PsfResidual
impl RefUnwindSafe for PsfResidual
impl Send for PsfResidual
impl Sync for PsfResidual
impl Unpin for PsfResidual
impl UnsafeUnpin for PsfResidual
impl UnwindSafe for PsfResidual
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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