siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
siderust::sun Namespace Reference

Functions

qtty::Radian altitude_at (const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute the Sun'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 Sun 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 Sun is below a threshold altitude.
 
std::vector< CrossingEventcrossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find threshold-crossing events for the Sun.
 
std::vector< CulminationEventculminations (const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={})
 Find culmination events for the Sun.
 
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 Sun's altitude is within [min, max].
 
qtty::Degree azimuth_at (const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute the Sun's azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant.
 
std::vector< AzimuthCrossingEventazimuth_crossings (const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={})
 Find epochs when the Sun crosses a given bearing.
 
std::vector< AzimuthExtremumazimuth_extrema (const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={})
 Find azimuth extrema (northernmost / southernmost) for the Sun.
 
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 Sun'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 Sun's azimuth is outside [min_bearing, max_bearing].
 

Function Documentation

◆ above_threshold()

std::vector< Period< TT, MJD > > siderust::sun::above_threshold ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find periods when the Sun is above a threshold altitude.

Definition at line 131 of file altitude.hpp.

◆ altitude_at()

qtty::Radian siderust::sun::altitude_at ( const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute the Sun's altitude (radians) at a given Time<TT, MJD> instant.

Definition at line 120 of file altitude.hpp.

References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().

◆ altitude_ranges()

std::vector< Period< TT, MJD > > siderust::sun::altitude_ranges ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  min_alt,
qtty::Degree  max_alt,
const SearchOptions opts = {} 
)
inline

Find periods when the Sun's altitude is within [min, max].

Definition at line 190 of file altitude.hpp.

◆ azimuth_at()

qtty::Degree siderust::sun::azimuth_at ( const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute the Sun's azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant.

Definition at line 108 of file azimuth.hpp.

References siderust::check_status(), siderust::detail::make_body_subject(), and siderust::Geodetic::to_c().

◆ azimuth_crossings()

std::vector< AzimuthCrossingEvent > siderust::sun::azimuth_crossings ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  bearing,
const SearchOptions opts = {} 
)
inline

Find epochs when the Sun crosses a given bearing.

Definition at line 119 of file azimuth.hpp.

◆ azimuth_extrema()

std::vector< AzimuthExtremum > siderust::sun::azimuth_extrema ( const Geodetic obs,
const Period< TT, MJD > &  window,
const SearchOptions opts = {} 
)
inline

Find azimuth extrema (northernmost / southernmost) for the Sun.

Definition at line 135 of file azimuth.hpp.

◆ below_threshold()

std::vector< Period< TT, MJD > > siderust::sun::below_threshold ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find periods when the Sun is below a threshold altitude.

Definition at line 147 of file altitude.hpp.

◆ crossings()

std::vector< CrossingEvent > siderust::sun::crossings ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Find threshold-crossing events for the Sun.

Definition at line 163 of file altitude.hpp.

◆ culminations()

std::vector< CulminationEvent > siderust::sun::culminations ( const Geodetic obs,
const Period< TT, MJD > &  window,
const SearchOptions opts = {} 
)
inline

Find culmination events for the Sun.

Definition at line 178 of file altitude.hpp.

◆ in_azimuth_range()

std::vector< Period< TT, MJD > > siderust::sun::in_azimuth_range ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  min_bearing,
qtty::Degree  max_bearing,
const SearchOptions opts = {} 
)
inline

Find periods when the Sun's azimuth is within [min_bearing, max_bearing].

Definition at line 151 of file azimuth.hpp.

◆ outside_azimuth_range()

std::vector< Period< TT, MJD > > siderust::sun::outside_azimuth_range ( const Geodetic obs,
const Period< TT, MJD > &  window,
qtty::Degree  min_bearing,
qtty::Degree  max_bearing,
const SearchOptions opts = {} 
)
inline

Find periods when the Sun's azimuth is outside [min_bearing, max_bearing].

Definition at line 167 of file azimuth.hpp.