get_dependent_physical_types

ndcube.utils.wcs.get_dependent_physical_types(physical_type, wcs)[source]

Given a world axis physical type, return the dependent physical types including the input type.

Parameters:
  • physical_type (str) – The world axis physical types whose dependent physical types are desired.

  • wcs (astropy.wcs.BaseLowLevelWCS) – The WCS object defining the relationship between pixel and world axes.

Returns:

dependent_physical_types – Physical types dependent on the input physical type.

Return type:

np.ndarray of str