wcs_to_platescale¶
-
FITS_tools.header_tools.wcs_to_platescale(mywcs, assert_square=True, use_units=False)[source] [edit on github]¶ Attempt to determine the spatial plate scale from a
WCSParameters: mywcs :
WCSThe WCS instance to examine
assert_square : bool
Fail if the pixels are non-square
use_units : bool
Return a
Quantityif TrueReturns: platescale : float or
QuantityThe platescale in degrees with attached units if
use_unitsis True