pub struct IonexSelection<'a> { /* private fields */ }Expand description
A selected IONEX product plus its staleness metadata.
Obtain one from select_ionex or select_ionex_over_range. The inner
product is either the present product (borrowed, byte-identical to the
caller’s) or a diurnal-shifted copy; IonexSelection::ionex exposes it and
IonexSelection::slant_delay runs the standard slant-delay evaluation on
it.
Implementations§
Source§impl IonexSelection<'_>
impl IonexSelection<'_>
Sourcepub fn metadata(&self) -> StalenessMetadata
pub fn metadata(&self) -> StalenessMetadata
The staleness metadata for this selection.
Sourcepub fn ionex(&self) -> &Ionex
pub fn ionex(&self) -> &Ionex
The usable IONEX product: the present product for an exact result, or the diurnal-shifted copy for a degraded one.
Sourcepub fn slant_delay(
&self,
receiver: Wgs84Geodetic,
elevation_rad: f64,
azimuth_rad: f64,
epoch_j2000_s: i64,
frequency_hz: f64,
) -> Result<f64>
pub fn slant_delay( &self, receiver: Wgs84Geodetic, elevation_rad: f64, azimuth_rad: f64, epoch_j2000_s: i64, frequency_hz: f64, ) -> Result<f64>
Slant ionospheric group delay (positive meters) from the selected product.
Delegates to ionex_slant_delay
on the inner product. For an exact selection this is the inner product
untouched, so the result is bit-for-bit identical to calling
ionex_slant_delay on the caller’s product directly.
Trait Implementations§
Source§impl<'a> Clone for IonexSelection<'a>
impl<'a> Clone for IonexSelection<'a>
Source§fn clone(&self) -> IonexSelection<'a>
fn clone(&self) -> IonexSelection<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for IonexSelection<'a>
impl<'a> Debug for IonexSelection<'a>
Source§impl<'a> PartialEq for IonexSelection<'a>
impl<'a> PartialEq for IonexSelection<'a>
Source§fn eq(&self, other: &IonexSelection<'a>) -> bool
fn eq(&self, other: &IonexSelection<'a>) -> bool
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for IonexSelection<'a>
Auto Trait Implementations§
impl<'a> Freeze for IonexSelection<'a>
impl<'a> RefUnwindSafe for IonexSelection<'a>
impl<'a> Send for IonexSelection<'a>
impl<'a> Sync for IonexSelection<'a>
impl<'a> Unpin for IonexSelection<'a>
impl<'a> UnsafeUnpin for IonexSelection<'a>
impl<'a> UnwindSafe for IonexSelection<'a>
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.