BGlib.be.translators.df_utils.be_utils.getSpecSliceForUDVSstep

BGlib.be.translators.df_utils.be_utils.getSpecSliceForUDVSstep(h5_udvs_inds, udvs_step_index)[source]

Returns the spectroscopic indices that correspond to the given udvs_step_index that can be used to slice the main data matrix * Developer note - Replace the first parameter with the Raw_Data dataset

Parameters:
  • h5_udvs_inds (Reference to HDF5 dataset) – UDVS_Indices dataset

  • udvs_step_index (unsigned int) – UDVS step index (base 0)

Returns:

slc – Object containing the start and end indices

Return type:

slice object