get_wcs_ctype

gammapy.utils.wcs.get_wcs_ctype(wcs)[source]

Get celestial coordinate type of WCS instance.

Parameters:

wcs : WCS

WCS transformation instance.

Returns:

ctype : {‘galatic’, ‘icrs’}

String specifying the coordinate type, that can be used with SkyCoord