pub struct OpenBeamFit {
pub beam: BeamSpline,
pub deviance: f64,
pub converged: bool,
pub covariance: Option<FlatMatrix>,
pub overdispersion: Option<f64>,
pub at_limit: bool,
pub step_us: f64,
pub points: usize,
pub halvings: usize,
}Expand description
The fitted open beam.
Fields§
§beam: BeamSplineThe beam per µs of flight time over the flight-time grid’s range; its
knots span the flight times of the first and last edges.
covariance shows how well the counts determine it.
deviance: f64Half the Poisson deviance at the fit.
converged: boolWhether the fitter converged. It certifies the minimisation, not that
the counts determine every coefficient; covariance shows that.
covariance: Option<FlatMatrix>Covariance of the beam’s coefficients, scaled by overdispersion, or
at the Poisson scale when that is None; rows and columns of a
coefficient the counts leave undetermined are NaN. None when the
fit did not converge.
overdispersion: Option<f64>Variance of the counts over their Poisson variance, at least 1: the
richest fitted beam’s Pearson χ² per degree of freedom over the bins
predicted at least one count, for independent bins. Beam structure
finer than every candidate is counted in it as noise; such a beam is
not supported and is fitted smooth, which shows as an overdispersion
far above the detector’s. None when the fit did not converge or
those bins do not outnumber the coefficients.
at_limit: boolWhether the chosen beam is the richest fitted; the counts may then hold
structure finer than its intervals, whose misfit overdispersion
includes.
step_us: f64Step, in µs, of the returned fit’s grid, which meets BOUND when the
fit converged.
points: usizeNumber of points of that grid.
halvings: usizeHow many times the first grid was halved to reach it.
Trait Implementations§
Source§impl Clone for OpenBeamFit
impl Clone for OpenBeamFit
Source§fn clone(&self) -> OpenBeamFit
fn clone(&self) -> OpenBeamFit
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 OpenBeamFit
impl RefUnwindSafe for OpenBeamFit
impl Send for OpenBeamFit
impl Sync for OpenBeamFit
impl Unpin for OpenBeamFit
impl UnsafeUnpin for OpenBeamFit
impl UnwindSafe for OpenBeamFit
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