fitsmgmt.wcs.fov_radius

fitsmgmt.wcs.fov_radius(header=None, wcs=None, unit=u.deg)

Calculates the rough radius (cone) of the (square) FOV using ~astropy.wcs.WCS.

Parameters

header : ~astropy.io.fits.Header, optional. = None

The header to extract ~astropy.wcs.WCS information. Default: None.

wcs : ~astropy.wcs.WCS, optional. = None

The ~astropy.wcs.WCS to extract the information. If None, it will be extracted from header. Default: None.

Returns

radius : ~astropy.Quantity

The radius in degrees