I just tried to load EEG, EMG and bio channels separately via
eeg_raw = mne.io.read_raw_edf('test.edf', exclude=['Resp', 'BVP-0','EMG-0','EMG-1','EMG-2','EMG-3', 'BVP-1'], preload=True)
bio_raw=mne.io.read_raw_edf('test.edf', include=[ 'Resp','BVP-0','BVP-1'], preload=True)
emg_raw=mne.io.read_raw_edf('test.edf', include=[ 'EMG-0','EMG-1','EMG-2','EMG-3'], preload=True)
Unfortunately I did not suceed to load the data. The result is that,
-
eeg_raw
only excluded one bio channel ‘Resp’. -
emg_raw
had no channel. -
bio_raw
had only 1 channel ‘Resp’…
Then I tried upgraded mne to 1.3, the result is that,
-
eeg_raw
only excluded one bio channel ‘Resp’. - the following 2 lines did not work and I got
TypeError: read_raw_edf() got an unexpected keyword argument 'include'
. I looked into the function and found thatinclude
was not implemented in the functionmne.io.read_raw_edf
. According to the documentation it should be there…