ra_dec_from_native_lon_lat¶
- rubin_sim.utils.ra_dec_from_native_lon_lat(lon, lat, obs_metadata)¶
Transform a star’s position in native longitude and latitude into RA and Dec. See the doc string for native_lon_lat_from_ra_dec for definitions of native longitude and latitude.
@param [in] lon is the native longitude in degrees
@param [in] lat is the native latitude in degrees
@param [in] obs_metadata is an ObservationMetaData characterizing the pointing of the telescope
@param [out] raOut is the RA of the star in degrees (in the International Celestial Reference System)
@param [in] decOut is the Dec of the star in degrees (in the International Celestial Reference System)
Note: Because of its reliance on icrs_from_observed, this method is only accurate at angular distances from the sun of greater than 45 degrees and zenith distances of less than 75 degrees.