magic-cta-pipe is under active development. Expect large and rapid changes in functionality.

transform_altaz_to_radec#

magicctapipe.utils.transform_altaz_to_radec(alt, az, obs_time)[source]#

Transforms the Alt/Az direction measured from ORM to the RA/Dec coordinate.

Parameters:
altastropy.units.quantity.Quantity

Altitude measured from ORM

azastropy.units.quantity.Quantity

Azimuth measured from ORM

obs_timeastropy.time.core.Time

Time when the direction was measured

Returns:
raastropy.coordinates.Longitude

Right ascension of the input direction

decastropy.coordinates.Latitude

Declination of the input direction