pyUSID.io.hdf_utils.model.get_dimensionality¶
- pyUSID.io.hdf_utils.model.get_dimensionality(ds_index, index_sort=None)[source]¶
Get the size of each index dimension in a specified sort order
- Parameters:
ds_index (2D HDF5 Dataset or numpy array) – Row matrix of indices
index_sort (Iterable of unsigned integers (Optional)) – Sort that can be applied to dimensionality. For example - Order of rows sorted from fastest to slowest
- Returns:
sorted_dims – Dimensionality of each row in ds_index. If index_sort is supplied, it will be in the sorted order
- Return type:
list of unsigned integers