CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
sidereal_time.hpp File Reference
#include <cmath>
#include "toolbox.hpp"
#include "julian_day.hpp"
#include "earth.hpp"

Namespaces

namespace  astro
namespace  astro::sidereal

Functions

auto astro::sidereal::greenwich_mean (const double jd_ut1) -> toolbox::AngleDeg
 Compute the Greenwich Mean Sidereal Time (GMST) for a UT1 instant.
auto astro::sidereal::greenwich_apparent (const double jd_ut1, const double jde_tt, const astro::earth::nutation::Model model=astro::earth::nutation::Model::IAU_1980) -> toolbox::AngleDeg
 Compute the Greenwich Apparent Sidereal Time (GAST) for a UT1 instant.
auto astro::sidereal::local_apparent (const double jd_ut1, const double jde_tt, const toolbox::AngleDeg &longitude_west, const astro::earth::nutation::Model model=astro::earth::nutation::Model::IAU_1980) -> toolbox::AngleDeg
 Compute the Local Apparent Sidereal Time (LAST) for an observer.