Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

fov_to_sky

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

Transform field-of-view coordinates to sky coordinates.

Parameters:
lon, lat : Quantity

Field-of-view coordinate to be transformed

lon_pnt, lat_pnt : Quantity

Coordinate specifying the pointing position (i.e. the center of the field of view)

Returns:
lon_t, lat_t : Quantity

Transformed sky coordinate