Can I use the functions of this class if so how?
("All" "sensors" "should be there.") # TODO: is it possible for this to fail? the list # comp fails first right? assert len(set(chan_inds)) == len(chan_inds), ("No" "duplicated sensors" "wanted.") return chan_inds @staticmethod def get_all_sensors(filename, pattern=None): """ Get all sensors that exist in the given file. Parameters ---------- filename: str pattern: str, optional Only return those sensor names that match the given pattern. Returns ------- sensor_names: list of str Sensor names that match the pattern or all sensor names in the file. """ with h5py.File(filename, 'r') as h5file: clab_set = h5file['nfo']['clab'