Skip to content

moon_orientation

Defined in: rotation.rs:58

fn moon_orientation(epoch: &[Epoch<Tdb>](../../structs/epoch/)) -> nalgebra::UnitQuaternion<f64>

Moon body-fixed → ECI orientation with IAU 2009 libration corrections.

Includes the 13-term periodic corrections to α, δ, and W from Archinal et al. (2011), Table 3a/3b. These correct for nutation and precession of the Moon’s pole and prime meridian relative to the mean orientation (ME frame).

IAU WGCCRE 2009 specifies the W/α/δ polynomials in terms of “interval in Julian days from J2000 in TDB” (Archinal et al. 2011). This function takes &Epoch<Tdb> as input; callers starting from Epoch<Utc> must invoke epoch.to_tdb() explicitly.