pub struct RinexSppOptions {
pub signal_policy: SignalPolicy,
pub corrections: Corrections,
pub initial_guess: Option<[f64; 4]>,
pub satellites: Option<BTreeSet<GnssSatelliteId>>,
pub met: SurfaceMet,
pub robust: Option<RobustConfig>,
}Expand description
Options for assembling RINEX observation epochs into SPP SolveInputs.
Fields§
§signal_policy: SignalPolicyPer-constellation pseudorange-code selection policy.
corrections: CorrectionsCorrection terms to request in each assembled solve.
initial_guess: Option<[f64; 4]>Optional initial guess [x_m, y_m, z_m, b_m]. When absent, the RINEX
header’s APPROX POSITION XYZ provides the position and the clock seed
is zero.
satellites: Option<BTreeSet<GnssSatelliteId>>Optional satellite allow-list. None keeps every satellite with a
selected pseudorange.
met: SurfaceMetSurface meteorology for troposphere correction.
robust: Option<RobustConfig>Optional robust reweighting for every assembled epoch.
Implementations§
Source§impl RinexSppOptions
impl RinexSppOptions
Sourcepub fn new(signal_policy: SignalPolicy) -> Self
pub fn new(signal_policy: SignalPolicy) -> Self
Build options from an explicit signal policy.
Sourcepub fn default_for(obs: &ObservationFile) -> Result<Self, RinexSppError>
pub fn default_for(obs: &ObservationFile) -> Result<Self, RinexSppError>
Build options using the default single-frequency signal policy for the observation file’s RINEX version.
Sourcepub const fn with_corrections(self, corrections: Corrections) -> Self
pub const fn with_corrections(self, corrections: Corrections) -> Self
Replace the correction request.
Sourcepub const fn with_initial_guess(self, initial_guess: [f64; 4]) -> Self
pub const fn with_initial_guess(self, initial_guess: [f64; 4]) -> Self
Replace the initial solve guess.
Sourcepub fn with_satellites<I>(self, satellites: I) -> Selfwhere
I: IntoIterator<Item = GnssSatelliteId>,
pub fn with_satellites<I>(self, satellites: I) -> Selfwhere
I: IntoIterator<Item = GnssSatelliteId>,
Restrict assembly to the supplied satellites.
Sourcepub const fn with_surface_met(self, met: SurfaceMet) -> Self
pub const fn with_surface_met(self, met: SurfaceMet) -> Self
Replace surface meteorology.
Sourcepub const fn with_robust(self, robust: Option<RobustConfig>) -> Self
pub const fn with_robust(self, robust: Option<RobustConfig>) -> Self
Replace robust-reweighting config.
Trait Implementations§
Source§impl Clone for RinexSppOptions
impl Clone for RinexSppOptions
Source§fn clone(&self) -> RinexSppOptions
fn clone(&self) -> RinexSppOptions
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 RinexSppOptions
impl Debug for RinexSppOptions
Source§impl PartialEq for RinexSppOptions
impl PartialEq for RinexSppOptions
Source§fn eq(&self, other: &RinexSppOptions) -> bool
fn eq(&self, other: &RinexSppOptions) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RinexSppOptions
Auto Trait Implementations§
impl Freeze for RinexSppOptions
impl RefUnwindSafe for RinexSppOptions
impl Send for RinexSppOptions
impl Sync for RinexSppOptions
impl Unpin for RinexSppOptions
impl UnsafeUnpin for RinexSppOptions
impl UnwindSafe for RinexSppOptions
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.