Hi,
I’m wondering why ECG channels labelled as an EEG channel as it’s the case following :
10 EEG channels while we have 8 EEG channels + 1 EMG + 1 ECG
And how to deal with that?
Thanks.
Lenny,
Hi,
I’m wondering why ECG channels labelled as an EEG channel as it’s the case following :
10 EEG channels while we have 8 EEG channels + 1 EMG + 1 ECG
And how to deal with that?
Thanks.
Lenny,
What format is the raw data in, and how did you read it into mne?
You can have a look at this function to explicitly set your channel types: mne.io.Raw — MNE 1.9.0 documentation
Hello,
I’m reading and EDF file :
raw = mne.io.read_raw_edf("exemple file/EDF ECG/sub-02_ses-01_task-musicTherapy_eeg.edf", preload=True)
print(raw.info)
Ok, looks good to me. You just need to explicitly set the channel types after loading, using the method that I linked to in a comment above.
Thank you ! I was expecting this to be automatic by MNE rather than manually set.
As a side note, read_raw_edf()
does support automatic channel type inference, but only if the data contains suitable channel labels (that start with the type). In that case, you can set infer_types=True
.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.