0

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'

30th Nov 2020, 9:17 PM
Zhenis Otarbay
Zhenis Otarbay - avatar
2 Respostas
+ 2
Write code on playground and then post link of this code here.
8th Dec 2020, 6:01 PM
Иван Чикyнов
Иван Чикyнов - avatar
+ 1
Иван Чикyнов for now it is not important for me, is it okay if I leave as it is now for a while?
8th Dec 2020, 6:02 PM
Zhenis Otarbay
Zhenis Otarbay - avatar