physical_type_to_pixel_axes#
- ndcube.utils.wcs.physical_type_to_pixel_axes(physical_type, wcs)[source]#
- Gets the pixel axis indices corresponding to a world axis physical type. - Parameters:
- physical_type ( - int) – The pixel axis number(s) for which the world axis numbers are desired.
- wcs ( - astropy.wcs.wcsapi.BaseLowLevelWCS) – The WCS object defining the relationship between pixel and world axes.
 
- Returns:
- pixel_axes ( - numpy.ndarray) – The pixel axis indices corresponding to the physical type.
 
