You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't run the code, because of the KeyError:'sample2volt'.
Auto-detection of noisy channels: 0%| | 0/25 [00:00<?, ?it/s]
Auto-detection of noisy channels: 0%| | 0/25 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\pixel\Desktop\pytest.py", line 8, in
run(data_path, dir_path=dir_path, probe=np1_probe())
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\main.py", line 95, in run
probe.good_channels, probe.channels_labels = get_good_channels(
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\preprocess.py", line 280, in get_good_channels
return get_good_channels_raw_correlations(raw_data, probe, params, **kwargs)
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\preprocess.py", line 299, in get_good_channels_raw_correlations
raw = raw_data[s0][:, :probe.Nchan].T.astype(np.float32) * probe['sample2volt']
KeyError: 'sample2volt'
How to deal with it?
The text was updated successfully, but these errors were encountered:
I can't run the code, because of the KeyError:'sample2volt'.
Auto-detection of noisy channels: 0%| | 0/25 [00:00<?, ?it/s]
Auto-detection of noisy channels: 0%| | 0/25 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\pixel\Desktop\pytest.py", line 8, in
run(data_path, dir_path=dir_path, probe=np1_probe())
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\main.py", line 95, in run
probe.good_channels, probe.channels_labels = get_good_channels(
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\preprocess.py", line 280, in get_good_channels
return get_good_channels_raw_correlations(raw_data, probe, params, **kwargs)
File "C:\Users\pixel\AppData\Local\Programs\Python\Python38\lib\site-packages\pykilosort-ibl_1.4.1-py3.8.egg\pykilosort\preprocess.py", line 299, in get_good_channels_raw_correlations
raw = raw_data[s0][:, :probe.Nchan].T.astype(np.float32) * probe['sample2volt']
KeyError: 'sample2volt'
How to deal with it?
The text was updated successfully, but these errors were encountered: