pub struct JointFitResult {
pub densities: Vec<f64>,
pub density_uncertainties: Option<Vec<f64>>,
pub temperature_k: Option<f64>,
pub temperature_k_unc: Option<f64>,
pub delta_t_us: f64,
pub delta_l_m: f64,
pub reduced_chi_squared: f64,
pub converged: bool,
pub iterations: usize,
}Expand description
What a joint fit reports.
The resolution is an output here rather than an input, so the fitted widths come back alongside the sample’s parameters.
Fields§
§densities: Vec<f64>Fitted areal densities (atoms/barn), one per sample isotope.
density_uncertainties: Option<Vec<f64>>One-sigma uncertainty on each density, None when the covariance was
not available.
temperature_k: Option<f64>Fitted temperature (K), None when it was held fixed.
temperature_k_unc: Option<f64>One-sigma uncertainty on the fitted temperature.
Unlike the pinned route’s, this includes the temperature’s degeneracy with the resolution, because the calibrant that constrains the resolution is in the same objective.
delta_t_us: f64Fitted Gaussian timing width (µs), the W-parameter in exp(-x²/W²).
delta_l_m: f64Fitted Gaussian flight-path width (m), same convention.
reduced_chi_squared: f64Reduced chi-squared over both spectra together.
converged: boolWhether the optimizer converged.
iterations: usizeIterations taken.
Trait Implementations§
Source§impl Clone for JointFitResult
impl Clone for JointFitResult
Source§fn clone(&self) -> JointFitResult
fn clone(&self) -> JointFitResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for JointFitResult
impl RefUnwindSafe for JointFitResult
impl Send for JointFitResult
impl Sync for JointFitResult
impl Unpin for JointFitResult
impl UnsafeUnpin for JointFitResult
impl UnwindSafe for JointFitResult
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
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>
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>
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