pub struct TrueVelocityLocalResult {
pub effective_velocity_fps: f64,
pub iterations: i32,
pub final_error_mil: f64,
pub calculated_drop_mil: f64,
pub confidence: String,
}Expand description
Result of the classic single-observation velocity truing
(calculate_true_velocity_local).
Fields§
§effective_velocity_fps: f64The fitted effective muzzle velocity, in feet per second.
iterations: i32Number of binary-search iterations actually run.
final_error_mil: f64Signed residual at the returned velocity, in MIL:
calculated_drop_mil - measured_drop_mil. Positive means the model still
predicts MORE drop than was measured at the returned velocity; negative
means less.
calculated_drop_mil: f64The model-predicted drop (MIL) at the returned velocity.
confidence: StringConvergence quality: "high" (converged, |error| < 0.005 mil),
"medium" (converged within the 0.01 mil tolerance, or stopped early
with |error| < 0.1 mil), or "low" (did not converge; |error| >= 0.1 mil).
Trait Implementations§
Source§impl Clone for TrueVelocityLocalResult
impl Clone for TrueVelocityLocalResult
Source§fn clone(&self) -> TrueVelocityLocalResult
fn clone(&self) -> TrueVelocityLocalResult
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 moreAuto Trait Implementations§
impl Freeze for TrueVelocityLocalResult
impl RefUnwindSafe for TrueVelocityLocalResult
impl Send for TrueVelocityLocalResult
impl Sync for TrueVelocityLocalResult
impl Unpin for TrueVelocityLocalResult
impl UnsafeUnpin for TrueVelocityLocalResult
impl UnwindSafe for TrueVelocityLocalResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.