az2dec()

Scientific results for this function.

Direct spherical propagation was checked on steep skylines, including a sightline through the celestial pole. D02 validation study.

Function index

The same true bearing can indicate different declinations when the observer or horizon changes. Supply angular altitude directly or interpolate it from one shared horizon or one horizon per observation. Numeric latitude inputs imply zero longitude and elevation; a location matrix can include both. When refraction is enabled, the function adjusts the input altitude using pressure, temperature and elevation, then calls the inverse Swiss Ephemeris horizontal transformation. Bearings are clockwise from north; the routine shifts them to the engine convention and rounds the returned declinations using the input bearing representation.

Interpretation and limits. A target match inherits the skyline, epoch range and sightline uncertainty used to generate it. The number of plausible candidates also depends on catalogue coverage and the search window.

Implementation arguments, return value and documented modes
Argument Formal default Behaviour in this interface
az —

True bearing or vector of bearings in degrees clockwise from north.

loc —

One latitude or one per bearing (degrees north), a site matrix with one row per bearing (latitude, longitude and optional elevation), a shared horizon or a list of horizons in measurement order.

alt —

Horizon altitude in degrees, shared or one per bearing. Omit when supplying horizons to interpolate altitude at each bearing with hor2alt.

refraction skyscapeR.env$refraction

Logical. Apply atmospheric refraction. Defaults to the session setting in skyscapeR.vars.

atm skyscapeR.env$atm

Atmospheric pressure in mbar. Defaults to the session setting in skyscapeR.vars.

temp skyscapeR.env$temp

Air temperature in degrees Celsius. Defaults to the session setting in skyscapeR.vars.

Return value

Numeric declination in degrees for the supplied azimuth and altitude values.

Implementation. R/mechanics.R. Full function help · From bearings to celestial targets outline · From a measured orientation to a declination distribution · Identifying celestial candidates and limiting declinations · Reducing field observations · Convert each sightline to celestial declination · Importing site horizons