Skip to main content

orbit_repeat_lag

Function orbit_repeat_lag 

Source
pub fn orbit_repeat_lag(
    ephemeris: &BroadcastEphemeris,
    sat: GnssSatelliteId,
    near_epoch_j2000_s: f64,
) -> Result<Duration, SiderealFilterError>
Expand description

Compute a per-satellite orbital repeat lag from a broadcast ephemeris.

The selected broadcast record supplies the square root of semi-major axis and the mean-motion correction. The returned lag is 4*pi/n, where n = sqrt(GM / a^3) + delta_n, matching the orbit-repeat construction used for modified sidereal filtering.