pixel_axis_to_world_axes#
- ndcube.utils.wcs.pixel_axis_to_world_axes(pixel_axis, axis_correlation_matrix)[source]#
- Retrieves the indices of the world axis physical types corresponding to a pixel axis. - Parameters:
- pixel_axis ( - int) – The pixel axis index/indices for which the world axes are desired.
- axis_correlation_matrix ( - numpy.ndarrayof- bool) – 2D boolean correlation matrix defining the dependence between the pixel and world axes. Format same as- astropy.wcs.wcsapi.BaseLowLevelWCS.axis_correlation_matrix.
 
- Returns:
- world_axes ( - numpy.ndarray) – The world axis indices corresponding to the pixel axis.
 
