|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Lunar conventions and entry points: the Ch.15 standard altitude and the UT-day (almanac-style) API wired to the ELP2000-82B ephemeris. More...
Functions | |
| auto | horizontal_parallax (const double jde_tt) -> toolbox::AngleRad |
| The Moon's equatorial horizontal parallax Π at one instant. | |
| auto | h0 (const toolbox::AngleRad &Π, const astro::earth::refraction::Params &p={}) -> toolbox::AngleDeg |
| The standard altitude of the Moon's center at rise/set: 0.7275·Π − refraction. | |
| auto | calculate (const std::chrono::year_month_day &ymd_ut1, const GeoLocation &location, const astro::earth::refraction::Params &p={}) -> Result |
| Compute moonrise, lunar transit, and moonset for one UT1 calendar day. | |
Variables | |
| constexpr auto | apparent_equatorial |
| The Moon's position provider: apparent geocentric equatorial coordinates at one instant (TT) — an alias of astro::moon::equatorial_coord::apparent, the lunar counterpart of the solar provider. | |
Lunar conventions and entry points: the Ch.15 standard altitude and the UT-day (almanac-style) API wired to the ELP2000-82B ephemeris.
|
inlinenodiscard |
Compute moonrise, lunar transit, and moonset for one UT1 calendar day.
| ymd_ut1 | The date, interpreted on the UT1 scale (callers handle time zones). |
| location | The observer's location. |
| p | The atmospheric refraction parameters for the h₀ convention (defaults: standard 34′). |
| std::invalid_argument | If ymd_ut1 is invalid, location is out of range, or p is invalid (see refraction::at_horizon), or a time conversion leaves its supported years. |
| std::runtime_error | For a refraction failure at the h₀ stage (see h0's @throw — e.g. SAEMUNDSSON non-convergence), or numerical failures inside calculate_day (see its @throw). |
|
inlinenodiscard |
The standard altitude of the Moon's center at rise/set: 0.7275·Π − refraction.
| Π | The equatorial horizontal parallax at (approximately) the event time. A per-day value is sufficient: Π's intra-day drift moves rise/set instants by seconds at most, invisible to the minute-level golden contract (enforced end-to-end by the golden tests). |
| p | The atmospheric refraction parameters. Defaults reproduce Meeus's 34′ term. |
| std::invalid_argument | If p is invalid (see refraction::at_horizon). |
| std::runtime_error | For Model::SAEMUNDSSON, if the horizon iteration does not converge (see refraction::at_horizon). |
|
inlinenodiscard |
The Moon's equatorial horizontal parallax Π at one instant.
|
inlineconstexpr |
The Moon's position provider: apparent geocentric equatorial coordinates at one instant (TT) — an alias of astro::moon::equatorial_coord::apparent, the lunar counterpart of the solar provider.