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:
inwcsWCS

The world coordinate system object.

Returns:
scalenumpy.ndarray

The pixel scale along each axis.