fov_to_sky

gammapy.utils.coordinates.fov_to_sky(lon, lat, lon_pnt, lat_pnt)[source]

Make a transformation from field-of-view coordinates to sky coordinates.

Parameters:

lon : array_like

Field-of-view longitude coordinate to be transformed, in degrees

lat : array_like

Field-of-view latitude coordinate to be transformed, in degrees

lon_pnt : array_like

Longitude coordinate of the pointing position, in degrees

lat_pnt : array_like

Latitude coordinate of the pointing position, in degrees

Returns:

lon_t : array_like

Sky longitude coordinate, in degrees

lat_t : array_like

Sky latitude coordinate, in degrees