pub struct CompareWindow {
pub broadcast_window_j2000_s: (f64, f64),
pub precise_start: JulianDateSplit,
pub step_s: f64,
pub velocity_half_s: f64,
}Expand description
A regularly sampled comparison window, the window-form input to
compare_window.
It mirrors how the geometry series functions take a window (an inclusive
(t0, t1) second-of-J2000 span plus a step), extended with the second time
axis this comparison needs: the broadcast product is queried on the
continuous J2000 second axis (broadcast_window_j2000_s), while the precise
product is queried by split Julian date in its own header time scale. The
caller supplies the precise split Julian date for the window start
(precise_start); the driver advances it in lockstep with the broadcast
axis, so the per-epoch broadcast-to-precise time-scale offset stays fixed at
the value baked into the two anchors. Time-scale and calendar handling thus
stay at the interface boundary (the caller picks the two start anchors); the
driver only builds the regular per-epoch grid and the velocity neighbours.
Fields§
§broadcast_window_j2000_s: (f64, f64)Inclusive broadcast query window, continuous seconds since J2000
((t0, t1)); t0 is the instant of the first epoch.
precise_start: JulianDateSplitPrecise query for the window start t0, split Julian date in the precise
product’s header time scale.
step_s: f64Sampling step between consecutive epochs, seconds.
velocity_half_s: f64Velocity finite-difference half step, seconds (the precise +/- half
neighbour queries); also the velocity scale passed to compare.
Trait Implementations§
Source§impl Clone for CompareWindow
impl Clone for CompareWindow
Source§fn clone(&self) -> CompareWindow
fn clone(&self) -> CompareWindow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CompareWindow
Source§impl Debug for CompareWindow
impl Debug for CompareWindow
Source§impl PartialEq for CompareWindow
impl PartialEq for CompareWindow
Source§fn eq(&self, other: &CompareWindow) -> bool
fn eq(&self, other: &CompareWindow) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompareWindow
Auto Trait Implementations§
impl Freeze for CompareWindow
impl RefUnwindSafe for CompareWindow
impl Send for CompareWindow
impl Sync for CompareWindow
impl Unpin for CompareWindow
impl UnsafeUnpin for CompareWindow
impl UnwindSafe for CompareWindow
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.