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

Functions

qtty::Radian altitude_at (const spherical::direction::ICRS &dir, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute altitude (radians) for a fixed ICRS direction.
 
qtty::Radian altitude_at (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Backward-compatible RA/Dec overload.
 
std::vector< Period< TT, MJD > > above_threshold (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a fixed ICRS direction is above a threshold.
 
std::vector< Period< TT, MJD > > below_threshold (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a fixed ICRS direction is below a threshold.
 
std::vector< Period< TT, MJD > > altitude_ranges (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree min_alt, qtty::Degree max_alt, const SearchOptions &opts={})
 Find periods when a fixed ICRS direction's altitude is within [min, max].
 
qtty::Degree azimuth_at (const spherical::direction::ICRS &dir, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Compute azimuth (degrees, N-clockwise) for a fixed ICRS direction.
 
qtty::Degree azimuth_at (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const Time< TT, MJD > &mjd)
 Backward-compatible RA/Dec overload.
 
std::vector< AzimuthCrossingEventazimuth_crossings (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={})
 Find epochs when an ICRS direction crosses a given azimuth bearing.
 
std::vector< AzimuthCrossingEventazimuth_crossings (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const Period< TT, MJD > &window, qtty::Degree bearing, const SearchOptions &opts={})
 Backward-compatible RA/Dec overload.
 

Function Documentation

◆ above_threshold()

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

Find periods when a fixed ICRS direction is above a threshold.

Definition at line 407 of file altitude.hpp.

◆ altitude_at() [1/2]

qtty::Radian siderust::icrs_altitude::altitude_at ( const spherical::direction::ICRS dir,
const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute altitude (radians) for a fixed ICRS direction.

Definition at line 387 of file altitude.hpp.

References siderust::check_status(), siderust::detail::make_icrs_subject(), siderust::Geodetic::to_c(), and siderust::spherical::Direction< F >::to_c().

Referenced by altitude_at().

◆ altitude_at() [2/2]

qtty::Radian siderust::icrs_altitude::altitude_at ( qtty::Degree  ra,
qtty::Degree  dec,
const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Backward-compatible RA/Dec overload.

Definition at line 399 of file altitude.hpp.

References altitude_at().

◆ altitude_ranges()

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

Find periods when a fixed ICRS direction's altitude is within [min, max].

Definition at line 441 of file altitude.hpp.

◆ azimuth_at() [1/2]

qtty::Degree siderust::icrs_altitude::azimuth_at ( const spherical::direction::ICRS dir,
const Geodetic obs,
const Time< TT, MJD > &  mjd 
)
inline

Compute azimuth (degrees, N-clockwise) for a fixed ICRS direction.

Definition at line 341 of file azimuth.hpp.

References siderust::check_status(), siderust::detail::make_icrs_subject(), siderust::Geodetic::to_c(), and siderust::spherical::Direction< F >::to_c().

Referenced by azimuth_at().

◆ azimuth_at() [2/2]

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

Backward-compatible RA/Dec overload.

Definition at line 353 of file azimuth.hpp.

References azimuth_at().

◆ azimuth_crossings() [1/2]

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

Find epochs when an ICRS direction crosses a given azimuth bearing.

Definition at line 361 of file azimuth.hpp.

◆ azimuth_crossings() [2/2]

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

Backward-compatible RA/Dec overload.

Definition at line 378 of file azimuth.hpp.

◆ below_threshold()

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

Find periods when a fixed ICRS direction is below a threshold.

Definition at line 424 of file altitude.hpp.