physical function
Physical returns quantities for physical observation of the Moon.
jde is Julian ephemeris day.
earth is VSOP87 Planet Earth.
Returns:
cMoonselenographic longitude/latitude of the Moon (librations)pposition angle of the Moon's axis of rotation (radians)cSunselenographic longitude/latitude of the Sun
Implementation
({Ecliptic cMoon, double p, Ecliptic cSun}) physical(
double jde, Planet earth) {
final pos = moonposition.position(jde);
final m = MoonPhysical(jde);
final lib = m.lib(pos.lon, pos.lat);
final p = m.pa(pos.lon, pos.lat, lib.b);
final sun = m.sun(pos.lon, pos.lat, pos.delta, earth);
return (
cMoon: Ecliptic(lib.l, lib.b),
p: p,
cSun: Ecliptic(sun.l, sun.b),
);
}