siderust-cpp
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 MJD &mjd)
 Compute altitude (radians) for a fixed ICRS direction.
 
qtty::Radian altitude_at (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const MJD &mjd)
 Backward-compatible RA/Dec overload.
 
std::vector< Periodabove_threshold (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a fixed ICRS direction is above a threshold.
 
std::vector< Periodabove_threshold (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree threshold, const SearchOptions &opts={})
 Backward-compatible RA/Dec + [start, end] overload.
 
std::vector< Periodbelow_threshold (const spherical::direction::ICRS &dir, const Geodetic &obs, const Period &window, qtty::Degree threshold, const SearchOptions &opts={})
 Find periods when a fixed ICRS direction is below a threshold.
 
std::vector< Periodbelow_threshold (qtty::Degree ra, qtty::Degree dec, const Geodetic &obs, const MJD &start, const MJD &end, qtty::Degree threshold, const SearchOptions &opts={})
 Backward-compatible RA/Dec + [start, end] overload.
 

Function Documentation

◆ above_threshold() [1/2]

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

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

Definition at line 549 of file altitude.hpp.

Referenced by main().

◆ above_threshold() [2/2]

std::vector< Period > siderust::icrs_altitude::above_threshold ( qtty::Degree  ra,
qtty::Degree  dec,
const Geodetic obs,
const MJD start,
const MJD end,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Backward-compatible RA/Dec + [start, end] overload.

Definition at line 565 of file altitude.hpp.

◆ altitude_at() [1/2]

qtty::Radian siderust::icrs_altitude::altitude_at ( const spherical::direction::ICRS dir,
const Geodetic obs,
const MJD mjd 
)
inline

Compute altitude (radians) for a fixed ICRS direction.

Definition at line 529 of file altitude.hpp.

References siderust::check_status(), 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 MJD mjd 
)
inline

Backward-compatible RA/Dec overload.

Definition at line 541 of file altitude.hpp.

References altitude_at().

◆ below_threshold() [1/2]

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

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

Definition at line 580 of file altitude.hpp.

Referenced by main().

◆ below_threshold() [2/2]

std::vector< Period > siderust::icrs_altitude::below_threshold ( qtty::Degree  ra,
qtty::Degree  dec,
const Geodetic obs,
const MJD start,
const MJD end,
qtty::Degree  threshold,
const SearchOptions opts = {} 
)
inline

Backward-compatible RA/Dec + [start, end] overload.

Definition at line 596 of file altitude.hpp.