pub struct TruingBaselineV1 {
pub muzzle_velocity_fps: f64,
pub ballistic_coefficient: f64,
pub chi_square: f64,
pub observations: Vec<WeightedTruingObservationResultV1>,
}Expand description
The same residual diagnostics evaluated before the fit, at the muzzle velocity and BC the request was entered with.
UncertaintyTruingReportV1::observations is always evaluated at the fitted
MAP, so on its own it can only draw an “after” column. Pairing the two lets a
client show what truing actually changed per observation. A client cannot
reconstruct this itself without reproducing this module’s forward model
exactly – same zero solve, same interpolation, same opt-in effects – and a
baseline computed any other way is not comparable with the fitted column it
sits beside.
Fields§
§muzzle_velocity_fps: f64The request’s entered model.muzzle_velocity_fps. Echoed, like
UncertaintyTruingReportV1::priors, so a rendered “before” column can
be labeled from the report alone.
ballistic_coefficient: f64The request’s entered model.ballistic_coefficient, echoed for the same
reason.
chi_square: f64Data chi-square at those entered parameters, directly comparable with
TruingUncertaintyDiagnosticsV1::chi_square at the MAP. Prior penalties
are excluded on both sides of that comparison: this is a statement about
how well the entered load described the observations, not about the
objective the fitter minimized.
observations: Vec<WeightedTruingObservationResultV1>One entry per request observation, in request order.
Trait Implementations§
Source§impl Clone for TruingBaselineV1
impl Clone for TruingBaselineV1
Source§fn clone(&self) -> TruingBaselineV1
fn clone(&self) -> TruingBaselineV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TruingBaselineV1
impl Debug for TruingBaselineV1
Source§impl PartialEq for TruingBaselineV1
impl PartialEq for TruingBaselineV1
Source§impl Serialize for TruingBaselineV1
impl Serialize for TruingBaselineV1
impl StructuralPartialEq for TruingBaselineV1
Auto Trait Implementations§
impl Freeze for TruingBaselineV1
impl RefUnwindSafe for TruingBaselineV1
impl Send for TruingBaselineV1
impl Sync for TruingBaselineV1
impl Unpin for TruingBaselineV1
impl UnwindSafe for TruingBaselineV1
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.