pub struct MergeOptions {
pub position_tolerance_m: f64,
pub clock_tolerance_s: f64,
pub min_agree: usize,
pub clock_min_common: usize,
pub combine: MergeCombine,
pub target_epoch_interval_s: Option<f64>,
pub systems: Option<BTreeSet<GnssSystem>>,
}Expand description
Options for merge.
Fields§
§position_tolerance_m: f64Maximum 3D position difference (meters) for two sources to be in agreement.
clock_tolerance_s: f64Maximum clock difference (seconds, after datum alignment) for two sources to be in agreement.
min_agree: usizeMinimum number of mutually-agreeing sources required to accept a cell that
has two or more sources. A cell with a single source is always carried
through (gap fill, recorded as single_source); a cell with several
sources but no agreeing subset this large is quarantined rather than
averaged across disagreeing centers.
clock_min_common: usizeMinimum common clocked satellites for the per-epoch clock-datum estimate
between two sources (see clock_reference_offset).
combine: MergeCombineHow to combine the agreeing sources.
target_epoch_interval_s: Option<f64>Optional target epoch interval, in seconds. When unset the coarsest input interval is used. Finer inputs are decimated onto this grid by exact subset selection (never interpolated); inputs whose interval does not evenly divide it are rejected.
systems: Option<BTreeSet<GnssSystem>>Optional constellation/system filter. When set, only satellites whose system is in this set are considered for the merged product.
Trait Implementations§
Source§impl Clone for MergeOptions
impl Clone for MergeOptions
Source§fn clone(&self) -> MergeOptions
fn clone(&self) -> MergeOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MergeOptions
impl Debug for MergeOptions
Source§impl Default for MergeOptions
impl Default for MergeOptions
Source§impl PartialEq for MergeOptions
impl PartialEq for MergeOptions
Source§fn eq(&self, other: &MergeOptions) -> bool
fn eq(&self, other: &MergeOptions) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MergeOptions
Auto Trait Implementations§
impl Freeze for MergeOptions
impl RefUnwindSafe for MergeOptions
impl Send for MergeOptions
impl Sync for MergeOptions
impl Unpin for MergeOptions
impl UnsafeUnpin for MergeOptions
impl UnwindSafe for MergeOptions
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,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
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>
self from the equivalent element of its
superset. Read moreSource§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).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.