axis_correlation_matrix¶
-
ndcube.utils.wcs.
axis_correlation_matrix
(wcs_object)[source] [edit on github]¶ Return True/False matrix indicating which WCS axes are dependent on others.
- Parameters
wcs_object (
astropy.wcs.WCS
orndcube.utils.wcs.WCS
) – The WCS object describing the axes.- Returns
matrix (
numpy.ndarray
ofbool
) – Square True/False matrix indicating which axes are dependent. For example, whether WCS axis 0 is dependent on WCS axis 1 is given by matrix[0, 1].