get_axis_number_from_axis_name¶
-
ndcube.utils.cube.get_axis_number_from_axis_name(axis_name, world_axis_physical_types)[source] [edit on github]¶ Returns axis number (numpy ordering) given a substring unique to a world axis type string.
Parameters: Returns: axis_index[0] (
int) – Axis number (numpy ordering) corresponding to axis name