pub struct EmissionMediaBatch {
pub positions_ecef_m: Vec<Option<[f64; 3]>>,
pub clocks_s: Vec<Option<f64>>,
pub ionosphere_slant_delays_m: Vec<Option<f64>>,
pub troposphere_delays_m: Vec<Option<f64>>,
pub statuses: Vec<EmissionMediaStatus>,
pub element_errors: Vec<Option<ObservablesError>>,
}Expand description
Contiguous per-satellite outputs for emission-epoch state and media lookup.
Element i of every vector belongs to input satellite i. Missing product
coverage is represented loudly: the status is EmissionMediaStatus::Gap,
the error is retained, and every value field is None. No missing row is
written as zero. A valid zero can still appear inside Some(0.0) when the
selected scalar model genuinely returns zero or a correction is disabled.
Fields§
§positions_ecef_m: Vec<Option<[f64; 3]>>Satellite ECEF positions in meters, one entry per input element.
clocks_s: Vec<Option<f64>>Satellite clock offsets in seconds, one entry per input element.
ionosphere_slant_delays_m: Vec<Option<f64>>Ionospheric slant group delays in meters, one entry per input element.
troposphere_delays_m: Vec<Option<f64>>Tropospheric slant delays in meters, one entry per input element.
statuses: Vec<EmissionMediaStatus>Per-element typed status.
element_errors: Vec<Option<ObservablesError>>Per-element non-success error, if any.
Implementations§
Source§impl EmissionMediaBatch
impl EmissionMediaBatch
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Build an empty batch with capacity for capacity elements.
Sourcepub fn reserve(&mut self, capacity: usize)
pub fn reserve(&mut self, capacity: usize)
Ensure each output vector can hold at least capacity elements.
Sourcepub fn element_status(&self, index: usize) -> Option<EmissionMediaStatus>
pub fn element_status(&self, index: usize) -> Option<EmissionMediaStatus>
Status category for element index.
Returns None when index is out of range.
Trait Implementations§
Source§impl Clone for EmissionMediaBatch
impl Clone for EmissionMediaBatch
Source§fn clone(&self) -> EmissionMediaBatch
fn clone(&self) -> EmissionMediaBatch
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 EmissionMediaBatch
impl Debug for EmissionMediaBatch
Source§impl PartialEq for EmissionMediaBatch
impl PartialEq for EmissionMediaBatch
impl StructuralPartialEq for EmissionMediaBatch
Auto Trait Implementations§
impl Freeze for EmissionMediaBatch
impl RefUnwindSafe for EmissionMediaBatch
impl Send for EmissionMediaBatch
impl Sync for EmissionMediaBatch
impl Unpin for EmissionMediaBatch
impl UnsafeUnpin for EmissionMediaBatch
impl UnwindSafe for EmissionMediaBatch
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.