![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
Functions | |
| qtty::Radian | altitude_at (const Geodetic &obs, const Time< TT, MJD > &mjd) |
| Compute the Moon's altitude (radians) at a given Time<TT, MJD> instant. | |
| std::vector< Period< TT, MJD > > | above_threshold (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find periods when the Moon is above a threshold altitude. | |
| std::vector< Period< TT, MJD > > | below_threshold (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find periods when the Moon is below a threshold altitude. | |
| std::vector< CrossingEvent > | crossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={}) |
| Find threshold-crossing events for the Moon. | |
| std::vector< CulminationEvent > | culminations (const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={}) |
| Find culmination events for the Moon. | |
| std::vector< Period< TT, MJD > > | altitude_ranges (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_alt, qtty::Degree max_alt, const SearchOptions &opts={}) |
| Find periods when the Moon's altitude is within [min, max]. | |
| qtty::Degree | azimuth_at (const Geodetic &obs, const Time< TT, MJD > &mjd) |
| Compute the Moon's azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant. | |
| std::vector< AzimuthCrossingEvent > | azimuth_crossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={}) |
| Find epochs when the Moon crosses a given bearing. | |
| std::vector< AzimuthExtremum > | azimuth_extrema (const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={}) |
| Find azimuth extrema (northernmost / southernmost) for the Moon. | |
| std::vector< Period< TT, MJD > > | in_azimuth_range (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_bearing, qtty::Degree max_bearing, const SearchOptions &opts={}) |
| Find periods when the Moon's azimuth is within [min_bearing, max_bearing]. | |
| std::vector< Period< TT, MJD > > | outside_azimuth_range (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_bearing, qtty::Degree max_bearing, const SearchOptions &opts={}) |
| Find periods when the Moon's azimuth is outside [min_bearing, max_bearing]. | |
| MoonPhaseGeometry | phase_geocentric (const Time< TT, JD > &jd) |
| Compute geocentric Moon phase geometry at a Julian Date. | |
| MoonPhaseGeometry | phase_topocentric (const Time< TT, JD > &jd, const Geodetic &site) |
| Compute topocentric Moon phase geometry at a Julian Date. | |
| MoonPhaseLabel | phase_label (const MoonPhaseGeometry &geom) |
| Determine the descriptive phase label for a given geometry. | |
| std::vector< PhaseEvent > | find_phase_events (const Period< TT, MJD > &window, const SearchOptions &opts={}) |
| Find principal phase events (new moon, quarters, full moon) in a window. | |
| std::vector< Period< TT, MJD > > | illumination_above (const Period< TT, MJD > &window, double k_min, const SearchOptions &opts={}) |
| Find periods when illuminated fraction is ≥ k_min. | |
| std::vector< Period< TT, MJD > > | illumination_below (const Period< TT, MJD > &window, double k_max, const SearchOptions &opts={}) |
| Find periods when illuminated fraction is ≤ k_max. | |
| std::vector< Period< TT, MJD > > | illumination_range (const Period< TT, MJD > &window, double k_min, double k_max, const SearchOptions &opts={}) |
| Find periods when illuminated fraction is within [k_min, k_max]. | |
|
inline |
Find periods when the Moon is above a threshold altitude.
Definition at line 225 of file altitude.hpp.
|
inline |
Compute the Moon's altitude (radians) at a given Time<TT, MJD> instant.
Definition at line 214 of file altitude.hpp.
References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().
|
inline |
Find periods when the Moon's altitude is within [min, max].
Definition at line 284 of file altitude.hpp.
|
inline |
Compute the Moon's azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant.
Definition at line 190 of file azimuth.hpp.
References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().
|
inline |
Find epochs when the Moon crosses a given bearing.
Definition at line 201 of file azimuth.hpp.
|
inline |
Find azimuth extrema (northernmost / southernmost) for the Moon.
Definition at line 217 of file azimuth.hpp.
|
inline |
Find periods when the Moon is below a threshold altitude.
Definition at line 241 of file altitude.hpp.
|
inline |
Find threshold-crossing events for the Moon.
Definition at line 257 of file altitude.hpp.
|
inline |
Find culmination events for the Moon.
Definition at line 272 of file altitude.hpp.
|
inline |
Find principal phase events (new moon, quarters, full moon) in a window.
| window | Time<TT, MJD> search window. |
| opts | Search tolerances (optional). |
Definition at line 164 of file lunar_phase.hpp.
|
inline |
Find periods when illuminated fraction is ≥ k_min.
| window | Time<TT, MJD> search window. |
| k_min | Minimum illuminated fraction in [0, 1]. |
| opts | Search tolerances (optional). |
Definition at line 180 of file lunar_phase.hpp.
|
inline |
Find periods when illuminated fraction is ≤ k_max.
| window | Time<TT, MJD> search window. |
| k_max | Maximum illuminated fraction in [0, 1]. |
| opts | Search tolerances (optional). |
Definition at line 196 of file lunar_phase.hpp.
|
inline |
Find periods when illuminated fraction is within [k_min, k_max].
| window | Time<TT, MJD> search window. |
| k_min | Minimum illuminated fraction in [0, 1]. |
| k_max | Maximum illuminated fraction in [0, 1]. |
| opts | Search tolerances (optional). |
Definition at line 213 of file lunar_phase.hpp.
|
inline |
Find periods when the Moon's azimuth is within [min_bearing, max_bearing].
Definition at line 233 of file azimuth.hpp.
|
inline |
Find periods when the Moon's azimuth is outside [min_bearing, max_bearing].
Definition at line 249 of file azimuth.hpp.
|
inline |
Compute geocentric Moon phase geometry at a Julian Date.
| jd | Julian Date (e.g. siderust::Time<TT, JD>(2451545.0) for J2000.0). |
Definition at line 124 of file lunar_phase.hpp.
References siderust::check_status(), and siderust::MoonPhaseGeometry::from_c().
|
inline |
Determine the descriptive phase label for a given geometry.
| geom | Moon phase geometry (as returned by phase_geocentric / phase_topocentric). |
Definition at line 149 of file lunar_phase.hpp.
References siderust::check_status(), siderust::MoonPhaseGeometry::elongation, siderust::MoonPhaseGeometry::illuminated_fraction, siderust::MoonPhaseGeometry::phase_angle, and siderust::MoonPhaseGeometry::waxing.
|
inline |
Compute topocentric Moon phase geometry at a Julian Date.
| jd | Julian Date. |
| site | Observer geodetic coordinates. |
Definition at line 136 of file lunar_phase.hpp.
References siderust::check_status(), siderust::MoonPhaseGeometry::from_c(), and siderust::Geodetic::to_c().