CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
astro::moon_phase Namespace Reference

Namespaces

namespace  phase_moments
namespace  detail
namespace  new_moon
namespace  illumination

Functions

auto longitude_diff (const double jde) -> double
 Calculate the difference between the apparent longitudes of the Moon and the Sun.

Function Documentation

◆ longitude_diff()

auto astro::moon_phase::longitude_diff ( const double jde) ->double
inlinenodiscard

Calculate the difference between the apparent longitudes of the Moon and the Sun.

Parameters
jdeThe Julian Ephemeris Day on the TT scale.
Returns
Moon minus Sun apparent longitude, in [0°, 360°).
See also
VSOP87D, ELP2000-82B, and Astronomical Algorithms, Jean Meeus, 1998.