approx_alt_az2_ra_dec¶
- rubin_sim.utils.approx_alt_az2_ra_dec(alt, az, lat, lon, mjd, lmst=None)¶
Convert alt, az to RA, Dec without taking into account aberration, precession, diffraction, etc.
- Parameters:
- altnumpy.array
Altitude, same length as
ra
anddec
. Degrees.- aznumpy.array
Azimuth, same length as
ra
anddec
. Must be same length asalt
. Degrees.- latfloat
Latitude of the observatory in degrees.
- lonfloat
Longitude of the observatory in degrees.
- mjdfloat
Modified Julian Date.
- lmstfloat (None)
The local mean sidereal time (computed if not given). (hours)
- Returns:
- raarray_like
RA, in degrees.
- decarray_like
Dec, in degrees.