Function astro::lunar::illum_frac_frm_ecl_coords
[−]
[src]
pub fn illum_frac_frm_ecl_coords(moon_long: f64, moon_lat: f64, sun_long: f64, earth_moon_dist: f64, earth_sun_dist: f64) -> f64
Computes the illuminated fraction of the lunar disk, using eclipctic coordinates
Arguments
moon_long
: Eclipctic longitude of the Moon | in radiansmoon_lat
: Eclipctic latitude of the Moon | in radianssun_long
: Eclipctic longitude of the Sun | in radiansearth_moon_dist
: Earth-Moon distance (in any unit, but same as that ofearth_sun_dist
)earth_sun_dist
: Earth-Sun distance (in any unit, but same as that ofearth_moon_dist
)