Skip to content

local_solar_time

Defined in: geo.rs:113

fn local_solar_time(ut_sec: f64, longitude_deg: f64, epoch: &arika::epoch::Epoch) -> f64

Compute local apparent solar time [hours].

Applies the Equation of Time correction to convert from mean to apparent solar time:

LST_apparent = UT/3600 + lon/15 + EoT(epoch)

where EoT accounts for Earth’s orbital eccentricity and axial tilt (up to ±16 minutes correction).