<div dir="ltr"><div>Dear fieldtrip community,</div><div><br></div><div>I am working with 128 channel EEG data recorded with EGI system. The data was recorded with Cz reference. I want to re-reference to average reference and get the data from the original reference channel Cz. When I run the following code, I still can't get the data from Cz. Could you please suggest a fix?</div><div><br></div><div>Thanks,</div><div>Arti</div><div><br></div><div><font face="Courier New" size="2"><font face="Courier New" size="2"><p>cfg = [];</p>
</font></font><p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.reref = </font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'yes'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.implicitref = </font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'Cz'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p><font face="Courier New" size="2"><font face="Courier New" size="2">
</font></font><p><font face="Courier New" size="2"><font face="Courier New" size="2">cfg.refchannel = </font></font><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2"><font color="#a020f0" face="Courier New" size="2">'all'</font></font></font><font face="Courier New" size="2"><font face="Courier New" size="2">;</font></font></p><font face="Courier New" size="2"><font face="Courier New" size="2">
<p>data_reref= ft_preprocessing(cfg, data_clean);</p></font></font><br></div></div>