- MNE version:1.3.0
- operating system: Ubuntu 18.04
I recently want to study this MEG+EEG data set (A multi-subject, multi-modal human neuroimaging dataset | Scientific Data, OpenNeuro). I found that MNE also contains the sample data set of the audvis task of the MEG/EEG channel, and their channel names are consistent. Is this the source of the sample data set of MNE?
In addition, I downloaded the ds003645 data set, and the eeg data format is like this:
I use mne.io.read_raw(‘sub-002_task-FacePerception_run-1_eeg.set’, preload=True) to read this data, which shows a error:
/tmp/ipykernel_27626/1747141852.py:1: RuntimeWarning: Unknown types found, setting as type EEG:
ekg: ['EEG063', 'EEG064']
heog: ['EEG061']
veog: ['EEG062']
raw = mne.io.read_raw('/data/public/qht/eeg_FacePerception/sub-002/eeg/sub-002_task-FacePerception_run-1_eeg.set', preload=True)
/tmp/ipykernel_27626/1747141852.py:1: RuntimeWarning: Estimated head radius (1.1 cm) is below the 3rd percentile for infant head size. Check if the montage_units argument is correct (the default is "mm", but your channel positions may be in different units).
raw = mne.io.read_raw('/data/public/qht/eeg_FacePerception/sub-002/eeg/sub-002_task-FacePerception_run-1_eeg.set', preload=True)
Traceback (most recent call last):
File "/tmp/ipykernel_27626/1747141852.py", line 1, in <module>
raw = mne.io.read_raw('/data/public/qht/eeg_FacePerception/sub-002/eeg/sub-002_task-FacePerception_run-1_eeg.set', preload=True)
File "/data/public/lib/python3.7/site-packages/mne/io/_read_raw.py", line 98, in read_raw
return readers[ext](fname, preload=preload, verbose=verbose, **kwargs)
File "/data/public/lib/python3.7/site-packages/mne/io/eeglab/eeglab.py", line 285, in read_raw_eeglab
montage_units=montage_units, verbose=verbose)
File "<decorator-gen-295>", line 12, in __init__
File "/data/public/lib/python3.7/site-packages/mne/io/eeglab/eeglab.py", line 385, in __init__
info, eeg_montage, _ = _get_info(eeg, eog=eog, scale_units=scale_units)
File "/data/public/lib/python3.7/site-packages/mne/io/eeglab/eeglab.py", line 207, in _get_info
info = create_info(ch_names, sfreq=eeg.srate, ch_types=ch_types)
File "<decorator-gen-38>", line 12, in create_info
File "/data/public/lib/python3.7/site-packages/mne/io/meas_info.py", line 2467, in create_info
raise KeyError(f'kind must be one of {list(ch_types_dict)}, '
KeyError: "kind must be one of ['grad', 'mag', 'ref_meg', 'eeg', 'seeg', 'dbs', 'ecog', 'eog', 'emg', 'ecg', 'resp', 'bio', 'misc', 'stim', 'exci', 'syst', 'ias', 'gof', 'dipole', 'chpi', 'fnirs_cw_amplitude', 'fnirs_fd_ac_amplitude', 'fnirs_fd_phase', 'fnirs_od', 'hbo', 'hbr', 'csd', 'temperature', 'gsr'], not meg"
How should a data set like this containing MEG and EEG channels be read in MNE? Thank you very much if anyone can answer.