convert_extra_coords_dict_to_input_format

ndcube.utils.cube.convert_extra_coords_dict_to_input_format(extra_coords, missing_axes)[source] [edit on github]

Converts NDCube.extra_coords attribute to format required as input for new NDCube.

Parameters

extra_coords (dict) – An NDCube.extra_coords instance.

Returns

input_format (list) – Infomation on extra coords in format required by NDCube.__init__.