pub struct PoissonResult {
pub deviance: f64,
pub iterations: usize,
pub converged: bool,
pub params: Vec<f64>,
pub covariance: Option<FlatMatrix>,
pub uncertainties: Option<Vec<Option<f64>>>,
pub on_bound: Vec<bool>,
}Expand description
Result of poisson_fit.
Fields§
§deviance: f64Half the Poisson deviance at params.
iterations: usizeNumber of steps taken.
converged: boolWhether the expected-information Newton decrement fell below 1e-6
inside the bounds: within about 0.0014 standard errors of a minimum
where the deviance is quadratic there; see poisson_fit.
params: Vec<f64>Final parameter values (all parameters, including fixed).
covariance: Option<FlatMatrix>Covariance of the free parameters; the rows and columns of a
parameter without an error bar are NaN. None when the fit did not
converge or covariance computation is disabled.
uncertainties: Option<Vec<Option<f64>>>Standard error of each free parameter; None for a parameter on a
bound or with a component along a direction the data do not
determine, larger than the SVD’s rounding for that parameter. None
overall when covariance is.
on_bound: Vec<bool>Whether each free parameter ended on one of its bounds.
Trait Implementations§
Source§impl Clone for PoissonResult
impl Clone for PoissonResult
Source§fn clone(&self) -> PoissonResult
fn clone(&self) -> PoissonResult
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 PoissonResult
impl RefUnwindSafe for PoissonResult
impl Send for PoissonResult
impl Sync for PoissonResult
impl Unpin for PoissonResult
impl UnsafeUnpin for PoissonResult
impl UnwindSafe for PoissonResult
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