Skip to main content

drift

Function drift 

Source
pub fn drift(
    elements: &Elements,
    truth: &[EcefSample],
    scale: TimeScale,
    threshold_m: f64,
) -> Result<DriftReport, ReducedOrbitError>
Expand description

Evaluate the model against truth ECEF samples and report the per-epoch error, its statistics, and the first epoch the error crosses threshold_m.

The error is computed in ECEF meters (model ECEF minus truth ECEF). This is source-backed: the caller supplies the truth (epoch, ECEF) samples; the function does not compare the model against itself.