BGlib.be.translators.df_utils.be_utils.getForExcitWfm¶
- BGlib.be.translators.df_utils.be_utils.getForExcitWfm(h5_main, h5_other, wave_type)[source]¶
- Slices the provided H5 dataset by the provided wave type. Note that this is applicable to only certain H5 datasets such as the bin frequences, bin FFT etc. - Parameters:
- h5_main (Reference to HDF5 dataset) – Raw_Data dataset 
- h5_other (Reference to HDF5 dataset) – The dataset that needs to be sliced such as bin frequencies 
- wave_type (unsigned int) – Excitation waveform type 
 
- Returns:
- freq_vec – data specific to specified excitation waveform 
- Return type:
- 1D numpy array