pub struct SyntheticKeplerSource { /* private fields */ }Expand description
Synthetic Keplerian ephemeris source.
Implementations§
Source§impl SyntheticKeplerSource
impl SyntheticKeplerSource
Sourcepub fn new(satellites: Vec<SyntheticKeplerOrbit>) -> Result<Self, ScenarioError>
pub fn new(satellites: Vec<SyntheticKeplerOrbit>) -> Result<Self, ScenarioError>
Build a source from validated orbit records.
Sourcepub fn satellites(&self) -> &[SyntheticKeplerOrbit]
pub fn satellites(&self) -> &[SyntheticKeplerOrbit]
Orbit records in source order.
Sourcepub fn state_at_j2000_s(
&self,
sat: GnssSatelliteId,
t_j2000_s: f64,
) -> Option<ObservableState>
pub fn state_at_j2000_s( &self, sat: GnssSatelliteId, t_j2000_s: f64, ) -> Option<ObservableState>
Evaluate one satellite state at seconds since J2000.
Trait Implementations§
Source§impl Clone for SyntheticKeplerSource
impl Clone for SyntheticKeplerSource
Source§fn clone(&self) -> SyntheticKeplerSource
fn clone(&self) -> SyntheticKeplerSource
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 moreSource§impl Debug for SyntheticKeplerSource
impl Debug for SyntheticKeplerSource
Source§impl EphemerisSource for SyntheticKeplerSource
impl EphemerisSource for SyntheticKeplerSource
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 ObservableEphemerisSource for SyntheticKeplerSource
impl ObservableEphemerisSource for SyntheticKeplerSource
Source§fn observable_state_at_j2000_s(
&self,
sat: GnssSatelliteId,
t_j2000_s: f64,
) -> Result<ObservableState, ObservablesError>
fn observable_state_at_j2000_s( &self, sat: GnssSatelliteId, t_j2000_s: f64, ) -> Result<ObservableState, ObservablesError>
ECEF position and optional satellite clock at seconds since J2000.
Source§fn observable_states_at_j2000_s(
&self,
satellites: &[GnssSatelliteId],
epochs_j2000_s: &[f64],
) -> Result<ObservableStateBatch, ObservablesError>
fn observable_states_at_j2000_s( &self, satellites: &[GnssSatelliteId], epochs_j2000_s: &[f64], ) -> Result<ObservableStateBatch, ObservablesError>
ECEF states for parallel satellite and epoch arrays. Read more
ECEF states for many satellites at one shared epoch. Read more
Source§impl PartialEq for SyntheticKeplerSource
impl PartialEq for SyntheticKeplerSource
Source§fn eq(&self, other: &SyntheticKeplerSource) -> bool
fn eq(&self, other: &SyntheticKeplerSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyntheticKeplerSource
Auto Trait Implementations§
impl Freeze for SyntheticKeplerSource
impl RefUnwindSafe for SyntheticKeplerSource
impl Send for SyntheticKeplerSource
impl Sync for SyntheticKeplerSource
impl Unpin for SyntheticKeplerSource
impl UnsafeUnpin for SyntheticKeplerSource
impl UnwindSafe for SyntheticKeplerSource
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<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
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>
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.