Expand description
Compact orbit approximations.
Reduced orbits are fitted approximations for caching, transport, and quick
visibility math. They are not precise ephemeris products; use
crate::ephemeris::Sp3 or crate::ephemeris::BroadcastEphemeris when
full-fidelity products are available.
Structs§
- Calendar
Epoch - A UTC calendar instant
(year, month, day, hour, minute, second), the form the coreTimeScales::from_utcconsumes. The Elixir layer produces these from each sample/query epoch; noInstant->TimeScalesbridge exists in the core crate, so the calendar tuple is carried explicitly to the boundary. - Drift
Entry - A per-epoch drift entry: the model-vs-truth position error at one epoch.
- Drift
Report - The result of a source-backed drift evaluation.
- Ecef
Sample - One fitting/drift truth sample: an epoch and an ECEF (ITRF) position in meters.
- Elements
- The fitted mean elements plus the kept J2 seed.
- FitStats
- Residual statistics from a fit, in meters.
- Piecewise
Orbit - A long span represented by contiguous independently-fitted reduced-orbit segments.
- Piecewise
Segment - One fitted segment in a piecewise reduced-orbit model.
- Reduced
Orbit - A fitted model: elements plus the residual statistics of the fit.
Enums§
- Frame
- Which reference frame a position/velocity result is expressed in.
- Model
- Which mean-element model the fit and evaluation use.
- Piecewise
Orbit Error - Errors from fitting or evaluating a piecewise reduced orbit.
- Reduced
Orbit Error - Errors from fitting or evaluating a reduced orbit.
Constants§
- MIN_
SAMPLES - Minimum number of samples the fitter accepts. The circular model solves five free elements and the eccentric model eight; each ECEF sample contributes three residuals, so four well-spread samples (twelve residuals) is the floor. Below this the geometry seed and refinement are unreliable.
Functions§
- drift
- Evaluate the model against truth ECEF samples and report the per-epoch error,
its statistics, and the first epoch the error crosses
threshold_m. - fit
- Fit the default
circular_secularmodel to ECEF samples, with all epochs interpreted inscale(e.g. an SP3 product’s GPST). - fit_
piecewise - Fit contiguous reduced-orbit segments over
[t0, t1]. - fit_
with_ model - Fit a chosen
Modelto ECEF samples interpreted inscale. - piecewise_
drift - Evaluate a piecewise model against truth ECEF samples.
- piecewise_
position - Evaluate a piecewise reduced orbit at
epoch. - piecewise_
position_ velocity - Evaluate piecewise reduced-orbit position and velocity at
epoch. - position
- Evaluate the model position at
epoch(interpreted inscale) in the requested frame, meters. - position_
velocity - Evaluate the model position and velocity at
epochin the requested frame. Returns(position_m, velocity_m_s). ECEF velocity includes the Earth-rotation transport term. - select_
piecewise_ segment - Return the segment covering
epoch.
Type Aliases§
- Error
- Error type returned by reduced-orbit fitting/evaluation.
- Reduced
Orbit Model - Role-oriented alias for a fitted reduced-orbit model.