non_celestial_pixel_scales¶
-
astropy.wcs.utils.non_celestial_pixel_scales(inwcs)[source]¶ Calculate the pixel scale along each axis of a non-celestial WCS, for example one with mixed spectral and spatial axes.
- Parameters
inwcs :
WCSThe world coordinate system object.
- Returns
scale :
numpy.ndarrayThe pixel scale along each axis.