astropy.wcs
astropy.wcs.utils.
non_celestial_pixel_scales
Calculate the pixel scale along each axis of a non-celestial WCS, for example one with mixed spectral and spatial axes.
WCS
The world coordinate system object.
numpy.ndarray
The pixel scale along each axis.