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

Functions

qtty::Radian altitude_at (const Star &s, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute a star's altitude (radians) at a given Time<TT, MJD> instant.
 
std::vector< Period< TT, MJD > > above_threshold (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a star is above a threshold altitude.
 
std::vector< Period< TT, MJD > > below_threshold (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a star is below a threshold altitude.
 
std::vector< CrossingEventcrossings (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find threshold-crossing events for a star.
 
std::vector< CulminationEventculminations (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, const SearchOptions &opts={})
 Find culmination events for a star.
 
qtty::Degree azimuth_at (const Star &s, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute a star's azimuth (degrees, N-clockwise) at a given Time<TT, MJD> instant.
 
std::vector< AzimuthCrossingEventazimuth_crossings (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={})
 Find epochs when a star crosses a given azimuth bearing.
 
std::vector< Period< TT, MJD > > in_azimuth_range (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_bearing, qtty::Degree max_bearing, const SearchOptions &opts={})
 Find periods when a star's azimuth is within [min, max] (degrees).
 
std::vector< Period< TT, MJD > > outside_azimuth_range (const Star &s, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_bearing, qtty::Degree max_bearing, const SearchOptions &opts={})
 Find periods when a star's azimuth is outside [min, max] (degrees).
 

Function Documentation

◆ above_threshold()

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

Find periods when a star is above a threshold altitude.

Definition at line 319 of file altitude.hpp.

◆ altitude_at()

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

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

Definition at line 308 of file altitude.hpp.

References siderust::Star::c_handle(), siderust::check_status(), siderust::detail::make_star_subject(), and siderust::Geodetic::to_c().

Referenced by siderust::StarTarget::altitude_at().

◆ azimuth_at()

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

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

Definition at line 272 of file azimuth.hpp.

References siderust::Star::c_handle(), siderust::check_status(), siderust::detail::make_star_subject(), and siderust::Geodetic::to_c().

Referenced by siderust::StarTarget::azimuth_at().

◆ azimuth_crossings()

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

Find epochs when a star crosses a given azimuth bearing.

Definition at line 283 of file azimuth.hpp.

◆ below_threshold()

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

Find periods when a star is below a threshold altitude.

Definition at line 335 of file altitude.hpp.

◆ crossings()

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

Find threshold-crossing events for a star.

Definition at line 351 of file altitude.hpp.

◆ culminations()

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

Find culmination events for a star.

Definition at line 365 of file altitude.hpp.

◆ in_azimuth_range()

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

Find periods when a star's azimuth is within [min, max] (degrees).

Definition at line 299 of file azimuth.hpp.

◆ outside_azimuth_range()

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

Find periods when a star's azimuth is outside [min, max] (degrees).

Definition at line 316 of file azimuth.hpp.