ra_dec_from_alt_az¶
- rubin_sim.utils.ra_dec_from_alt_az(alt, az, obs, include_refraction=True)¶
Convert altitude and azimuth to RA and Dec
@param [in] alt is the altitude in degrees. Can be a numpy array or a single value.
@param [in] az is the azimuth in degrees. Cant be a numpy array or a single value.
@param [in] obs is an ObservationMetaData characterizing the site of the telescope and the MJD of the observation
@param [in] include_refraction is a
bool
that turns refraction on and off (default True)@param [out] RA in degrees (in the International Celestial Reference System)
@param [out] Dec in degrees (in the International Celestial Reference System)
Note: This method is only accurate to within 0.01 arcsec near azimuth = 0 or pi