make_gwcs¶
- photutils.datasets.make_gwcs(shape, galactic=False)[source]¶
Create a simple celestial gWCS object in the ICRS coordinate frame.
This function requires the gwcs package.
- Parameters:
- Returns:
- wcs
gwcs.wcs.WCS
object The generalized world coordinate system (WCS) transformation.
- wcs
See also
Notes
The
make_wcs
function returns an equivalent WCS transformation to this one, but as anastropy.wcs.WCS
object.Examples
>>> from photutils.datasets import make_gwcs >>> shape = (100, 100) >>> gwcs = make_gwcs(shape) >>> print(gwcs) From Transform -------- ---------------- detector linear_transform icrs None