pub struct RinexSppSource<'a, E: EphemerisSource + ?Sized> { /* private fields */ }Expand description
Delegating ephemeris source that lets a precise product solve with broadcast NAV metadata during RINEX SPP assembly.
Use Self::with_broadcast_context for the common precise-SP3-plus-RINEX-NAV
path: satellite position and clocks come from ephemeris, while
ionosphere coefficients and GLONASS FDMA channels come from broadcast.
Implementations§
Source§impl<'a, E: EphemerisSource + ?Sized> RinexSppSource<'a, E>
impl<'a, E: EphemerisSource + ?Sized> RinexSppSource<'a, E>
Sourcepub const fn new(ephemeris: &'a E) -> Self
pub const fn new(ephemeris: &'a E) -> Self
Build a delegating source with no broadcast assembly context.
Sourcepub const fn with_broadcast_context(
ephemeris: &'a E,
broadcast: &'a BroadcastEphemeris,
) -> Self
pub const fn with_broadcast_context( ephemeris: &'a E, broadcast: &'a BroadcastEphemeris, ) -> Self
Build a delegating source whose ephemeris is used for the solve and whose broadcast product is used for RINEX assembly metadata.
Sourcepub const fn broadcast_context(&self) -> Option<&'a BroadcastEphemeris>
pub const fn broadcast_context(&self) -> Option<&'a BroadcastEphemeris>
Broadcast metadata source, when one was supplied.
Trait Implementations§
Source§impl<E: EphemerisSource + ?Sized> EphemerisSource for RinexSppSource<'_, E>
impl<E: EphemerisSource + ?Sized> EphemerisSource for RinexSppSource<'_, E>
Source§fn position_clock_at_j2000_s(
&self,
sat: GnssSatelliteId,
t_j2000_s: f64,
) -> Option<([f64; 3], f64)>
fn position_clock_at_j2000_s( &self, sat: GnssSatelliteId, t_j2000_s: f64, ) -> Option<([f64; 3], f64)>
ECEF position (m) and satellite clock offset (s) for
sat at t_j2000_s.Source§impl<E: EphemerisSource + ?Sized> RinexSppAssemblySource for RinexSppSource<'_, E>
impl<E: EphemerisSource + ?Sized> RinexSppAssemblySource for RinexSppSource<'_, E>
Source§fn rinex_spp_broadcast_corrections(&self) -> RinexSppBroadcastCorrections
fn rinex_spp_broadcast_corrections(&self) -> RinexSppBroadcastCorrections
Broadcast correction metadata available to RINEX SPP assembly.
Auto Trait Implementations§
impl<'a, E> Freeze for RinexSppSource<'a, E>where
E: ?Sized,
impl<'a, E> RefUnwindSafe for RinexSppSource<'a, E>where
E: RefUnwindSafe + ?Sized,
impl<'a, E> Send for RinexSppSource<'a, E>
impl<'a, E> Sync for RinexSppSource<'a, E>
impl<'a, E> Unpin for RinexSppSource<'a, E>where
E: ?Sized,
impl<'a, E> UnsafeUnpin for RinexSppSource<'a, E>where
E: ?Sized,
impl<'a, E> UnwindSafe for RinexSppSource<'a, E>where
E: RefUnwindSafe + ?Sized,
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> 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>
Converts
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>
Converts
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
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.