non_celestial_pixel_scales

astropy.wcs.utils.non_celestial_pixel_scales(inwcs)[source] [edit on github]

Calculate the pixel scale along each axis of a non-celestial WCS, for example one with mixed spectral and spatial axes.

Parameters:
inwcs : WCS

The world coordinate system object.

Returns:
scale : numpy.ndarray

The pixel scale along each axis.