pub struct RangeDoppler {
pub epoch: Epoch,
pub obs: Vector2<f64>,
}
Expand description
A simultaneous range and Doppler measurement in units of km and km/s, available both in one way and two way measurement.
Fields§
§epoch: Epoch
Epoch of the observation
obs: Vector2<f64>
Observation vector in km and km/s
Implementations§
source§impl RangeDoppler
impl RangeDoppler
sourcepub fn one_way(
aer: AzElRange,
timestamp_noise_s: f64,
range_noise_km: f64,
doppler_noise_km_s: f64,
) -> Self
pub fn one_way( aer: AzElRange, timestamp_noise_s: f64, range_noise_km: f64, doppler_noise_km_s: f64, ) -> Self
Initialize a new one-way range and Doppler measurement from the provided states and the effective noises.
§Panics
- If the epochs of the two states differ.
- If the frames of the two states differ.
sourcepub fn two_way(
aer_t0: AzElRange,
aer_t1: AzElRange,
timestamp_noise_s: f64,
range_noise_km: f64,
doppler_noise_km_s: f64,
) -> Self
pub fn two_way( aer_t0: AzElRange, aer_t1: AzElRange, timestamp_noise_s: f64, range_noise_km: f64, doppler_noise_km_s: f64, ) -> Self
Initialize a new two-way range and Doppler measurement from the provided states as times t_1 and t_2 and the effective noises.
The measurement is time-tagged at realization, i.e. at the end of the integration time (plus timestamp noise).
§Noise
The measurements are not considered to be independent distributed variables. As such, the noises are reduced by a factor of sqrt(2).
§Panics
- If the epochs of the two states differ.
- If the frames of the two states differ.
- If both epochs are identical.
Trait Implementations§
source§impl Clone for RangeDoppler
impl Clone for RangeDoppler
source§fn clone(&self) -> RangeDoppler
fn clone(&self) -> RangeDoppler
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RangeDoppler
impl Debug for RangeDoppler
source§impl EstimateFrom<Spacecraft, RangeDoppler> for Spacecraft
impl EstimateFrom<Spacecraft, RangeDoppler> for Spacecraft
source§fn extract(from: Spacecraft) -> Self
fn extract(from: Spacecraft) -> Self
source§fn sensitivity(
msr: &RangeDoppler,
receiver: Self,
transmitter: Orbit,
) -> OMatrix<f64, <RangeDoppler as Measurement>::MeasurementSize, Self::Size>
fn sensitivity( msr: &RangeDoppler, receiver: Self, transmitter: Orbit, ) -> OMatrix<f64, <RangeDoppler as Measurement>::MeasurementSize, Self::Size>
source§impl Measurement for RangeDoppler
impl Measurement for RangeDoppler
source§fn observation(&self) -> Vector2<f64>
fn observation(&self) -> Vector2<f64>
Returns this measurement as a vector of Range and Range Rate
Units: km, km/s
source§type MeasurementSize = Const<2>
type MeasurementSize = Const<2>
source§fn fields() -> Vec<Field>
fn fields() -> Vec<Field>
unit
field with the unit.source§fn from_observation(
epoch: Epoch,
obs: OVector<f64, Self::MeasurementSize>,
) -> Self
fn from_observation( epoch: Epoch, obs: OVector<f64, Self::MeasurementSize>, ) -> Self
source§impl PartialEq for RangeDoppler
impl PartialEq for RangeDoppler
source§impl TimeTagged for RangeDoppler
impl TimeTagged for RangeDoppler
source§impl TrackingDeviceSim<Spacecraft, RangeDoppler> for GroundStation
impl TrackingDeviceSim<Spacecraft, RangeDoppler> for GroundStation
source§fn measure(
&mut self,
epoch: Epoch,
traj: &Traj<Spacecraft>,
rng: Option<&mut Pcg64Mcg>,
almanac: Arc<Almanac>,
) -> Result<Option<RangeDoppler>, ODError>
fn measure( &mut self, epoch: Epoch, traj: &Traj<Spacecraft>, rng: Option<&mut Pcg64Mcg>, almanac: Arc<Almanac>, ) -> Result<Option<RangeDoppler>, ODError>
Perform a measurement from the ground station to the receiver (rx).
source§fn measurement_covar(
&mut self,
epoch: Epoch,
) -> Result<OMatrix<f64, <RangeDoppler as Measurement>::MeasurementSize, <RangeDoppler as Measurement>::MeasurementSize>, ODError>
fn measurement_covar( &mut self, epoch: Epoch, ) -> Result<OMatrix<f64, <RangeDoppler as Measurement>::MeasurementSize, <RangeDoppler as Measurement>::MeasurementSize>, ODError>
Returns the measurement noise of this ground station.
§Methodology
Noises are modeled using a StochasticNoise process, defined by the sigma on the turn-on bias and on the steady state noise. The measurement noise is computed assuming that all measurements are independent variables, i.e. the measurement matrix is a diagonal matrix. The first item in the diagonal is the range noise (in km), set to the square of the steady state sigma. The second item is the Doppler noise (in km/s), set to the square of the steady state sigma of that Gauss Markov process.
source§fn location(
&self,
epoch: Epoch,
frame: Frame,
almanac: Arc<Almanac>,
) -> AlmanacResult<Orbit>
fn location( &self, epoch: Epoch, frame: Frame, almanac: Arc<Almanac>, ) -> AlmanacResult<Orbit>
fn measure_instantaneous( &mut self, rx: Spacecraft, rng: Option<&mut Pcg64Mcg>, almanac: Arc<Almanac>, ) -> Result<Option<RangeDoppler>, ODError>
impl Copy for RangeDoppler
impl StructuralPartialEq for RangeDoppler
Auto Trait Implementations§
impl Freeze for RangeDoppler
impl RefUnwindSafe for RangeDoppler
impl Send for RangeDoppler
impl Sync for RangeDoppler
impl Unpin for RangeDoppler
impl UnwindSafe for RangeDoppler
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.