BGlib.be.translators.df_utils.be_utils.getSliceForExcWfm

BGlib.be.translators.df_utils.be_utils.getSliceForExcWfm(h5_bin_wfm, excit_wfm)[source]

Returns the indices that correspond to the given excitation waveform that can be used to slice the bin datasets * Developer note - Replace the first parameter with the Raw_Data dataset

Parameters:
  • h5_bin_wfm (Reference to HDF5 dataset) – Bin Waveform Indices

  • excit_wfm (integer) – excitation waveform / wave type

Returns:

slc – Slice with the start and end indices

Return type:

slice object