alt_az_pa_from_ra_dec¶
- rubin_sim.utils.alt_az_pa_from_ra_dec(ra, dec, obs, include_refraction=True)¶
Convert RA, Dec, longitude, latitude and MJD into altitude, azimuth and parallactic angle using PALPY
@param [in] ra is RA in degrees. Can be a numpy array or a single value. Assumed to be in the International Celestial Reference System.
@param [in] dec is Dec in degrees. Can be a numpy array or a single value. Assumed to be in the International Celestial Reference System.
@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] altitude in degrees
@param [out] azimuth in degrees
@param [out] parallactic angle in degrees
WARNING: This method does not account for apparent motion due to parallax. This method is only useful for mapping positions on a theoretical celestial sphere.