def lunar_perigee(cls, tee): """Return Angular distance of the perigee from the equinoctal point at moment, tee. Adapted from eq. 47.7 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed., 1998 with corrections June 2005.""" return normalized_degrees(poly(cls.julian_centuries(tee), [mpf(83.3532465), mpf(4069.0137287), mpf(-0.0103200), mpf(-1.0/80053.0), mpf(1.0/18999000.0)]))
def alt_lunar_node(cls, tee): """Return Angular distance of the node from the equinoctal point at fixed moment, tee. Adapted from eq. 47.7 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed., 1998 with corrections June 2005.""" return normalized_degrees(poly(cls.julian_centuries(tee), [mpf(125.0445479), mpf(-1934.1362891), mpf(0.0020754), mpf(1.0/467441.0), mpf(-1.0/60616000.0)]))
def lunar_elongation(cls, c): """Return elongation of moon (in degrees) at moment given in Julian centuries c. Adapted from eq. 47.2 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed. with corrections, 2005.""" return normalized_degrees(poly(c, [mpf(297.8501921), mpf(445267.1114034), mpf(-0.0018819), mpf(1/545868), mpf(-1/113065000)]))
def mean_lunar_longitude(cls, c): """Return mean longitude of moon (in degrees) at moment given in Julian centuries c (including the constant term of the effect of the light-time (-0".70). Adapted from eq. 47.1 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed. with corrections, 2005.""" return normalized_degrees(poly(c, [mpf(218.3164477), mpf(481267.88123421), mpf(-0.0015786), mpf(1 / 538841.0), mpf(-1.0 / 65194000.0)]))
def moon_node(cls, c): """Return Moon's argument of latitude (in degrees) at moment given in Julian centuries 'c'. Adapted from eq. 47.5 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed. with corrections, 2005.""" return normalized_degrees(poly(c, [mpf(93.2720950), mpf(483202.0175233), mpf(-0.0036539), mpf(-1.0/3526000.0), mpf(1.0/863310000.0)]))
def lunar_anomaly(cls, c): """Return mean anomaly of moon (in degrees) at moment given in Julian centuries c. Adapted from eq. 47.4 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed. with corrections, 2005.""" return normalized_degrees(poly(c, [mpf(134.9633964), mpf(477198.8675055), mpf(0.0087414), mpf(1.0/69699.0), mpf(-1.0/14712000.0)]))
def solar_anomaly(cls, c): """Return mean anomaly of sun (in degrees) at moment given in Julian centuries c. Adapted from eq. 47.3 in "Astronomical Algorithms" by Jean Meeus, Willmann_Bell, Inc., 2nd ed. with corrections, 2005.""" return normalized_degrees(poly(c, [mpf(357.5291092), mpf(35999.0502909), mpf(-0.0001536), mpf(1.0/24490000.0)]))