0

I am trying to rereference my EEG data to 0.5 of the mastoid (TP9). I tried different lines of code, but cannot seem to find a solution.

I cannot multiply the ref_channels in the set_eeg_reference function. Now, I attempted to create a new channel with the function mne.channels.combine_channels but this also does not work. Does anyone know a solution for this? Thank you.

Lisa
  • 1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Roxy Nov 22 '22 at 13:31

1 Answers1

0

Hy, As previously commented, you need to elaborate a bit more. Butfrom what i understood, rereferencing data to average works fine, but obviously after excluding any bad channels. You can use this line of code

raw1 = raw.copy().set_eeg_reference(ref_channels="average")