pyUSID.io.hdf_utils.model.get_sort_order

pyUSID.io.hdf_utils.model.get_sort_order(ds_spec)[source]

Find how quickly the spectroscopic values are changing in each row and the order of rows from fastest changing to slowest.

Parameters:

ds_spec (2D HDF5 dataset or numpy array) – Rows of indices to be sorted from fastest changing to slowest

Returns:

change_sort – Order of rows sorted from fastest changing to slowest

Return type:

List of unsigned integers