BGlib.be.translators.df_utils.be_utils.isSimpleDataset¶
- BGlib.be.translators.df_utils.be_utils.isSimpleDataset(h5_main, isBEPS=True)[source]¶
This function figures out if a single number defines the bins for all UDVS steps In such cases (udvs_steps x bins, pos) can be reshaped to (bins, positions x steps) for (theoretically) faster computation, especially for large datasets
Actually, things are a lot simpler. Only need to check if number of bins for all excitation waveforms are equal
- Parameters:
h5_main (Reference to HDF5 dataset) – Raw_Data dataset
isBEPS (Boolean (default = True)) – Whether or not this dataset is BEPS
- Returns:
data_type – Whether or not this dataset can be unraveled / flattened
- Return type:
Boolean