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 and dec. Degrees.

aznumpy.array

Azimuth, same length as ra and dec. Must be same length as alt. 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.