physical_type_to_world_axis#

ndcube.utils.wcs.physical_type_to_world_axis(physical_type, world_axis_physical_types)[source]#

Returns world axis index of a physical type based on WCS world_axis_physical_types.

Input can be a substring of a physical type, so long as it is unique.

Parameters:
Returns:

world_axis (numbers.Integral) – The world axis index of the physical type.