calculate_world_indices_from_axes

ndcube.utils.wcs.calculate_world_indices_from_axes(wcs, axes)[source]

Given a string representation of a world axis or a numerical array index, convert it to a numerical world index aligning to the position in wcs.world_axis_object_components.