<div dir="ltr">Dear Jasmine,<div><br></div><div>Of course you should take care that your EOG and ECG channels are not included during re-referencing to average. Normally, your EOG and ECG channels should be defined as those and not figure as EEG channel type. This depends on your set up when you record. If so, the following should do:</div><div><br></div><div>cfg = [];<br>cfg.reref = 'yes';<br>cfg.refmethod = 'avg';<br>cfg.refchannel = {'EEG'};<br></div><div><br></div><div>If your ECG and EOG channels are not defined as different channel type (let's assume they are also defined as EEG channels and you have used TP9 and TP10 as ECG and F2 and F3 as EOG channels), the the following should do:</div><div><br></div><div>cfg = [];<br>cfg.reref = 'yes';<br>cfg.refmethod = 'avg';<br>cfg.refchannel = {'EEG','-TP9,','-TP10','-F2','-F3'};<br></div><div><br></div><div>Best,</div><div><br></div><div>Stephan</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">El lun, 30 jun 2025 a las 14:49, Jasmine Pani via fieldtrip (<<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello all,</div><div><br></div><div>I'm super new to fieldtrip and I'm currently trying to write a script to analyze a single subject. </div><div>I have a brain products 32 channel eeg cap with two electrodes that can be used to record eye movement and heart rate. </div><div>In the pre-processing I'm re-referencing the data to avg, I was wondering about these two no-brain electrodes. Should I include them and reference, or remove them, reference and then include them back?? </div><div><br></div><div>I'm sorry if the question is really basic.</div><div>Best,</div><div><span style="background-color:transparent;font-family:Arial;font-size:10.5pt;font-weight:700">Jasmine Pani</span></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><span><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;color:rgb(34,34,34);font-family:Arial;font-size:10.5pt;font-weight:700;white-space:pre-wrap">Post-doc</span><br></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><br></p><p dir="ltr" style="line-height:1.656;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Georgia;color:rgb(34,34,34);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">UNIVERSITÀ DEGLI STUDI DI FIRENZE</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Dipartimento di Ingegneria Industriale (DIEF)</span></p><div><span style="font-size:10pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"><font face="arial, sans-serif" style="font-size:small;font-weight:400;white-space:normal"><b><span style="background-color:transparent">Biomedical and Robotics Lab (</span></b></font><b style="font-size:small;white-space:normal;font-family:arial,sans-serif">Stanze 344 - 345)</b><br></span></div><div><span style="font-size:10pt;font-family:Arial;color:rgb(34,34,34);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"><div style="font-family:Arial,Helvetica,sans-serif;font-weight:400;color:rgb(32,33,36);font-size:small;white-space:normal"><font face="arial, sans-serif"><b>Viale Morgagni, 40 </b></font></div><div style="font-family:Arial,Helvetica,sans-serif;font-weight:400;color:rgb(32,33,36);font-size:small;white-space:normal"><font face="arial, sans-serif"><b>50134 Firenze, Italia</b></font></div></span></div></span></div></div></div></div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C6d4a3dac7dfb4f09a3e308ddb879d08b%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638869555547411765%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Y04jo%2FHtSrd0ZeBhqqFYchkrEFSGxM1ZCuQVmucRrlk%3D&reserved=0" originalSrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C6d4a3dac7dfb4f09a3e308ddb879d08b%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638869555547436441%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Vfqmm6hO5eh4Mc98OyEdtLA%2BUE0JKWShP7mmio5KzTU%3D&reserved=0" originalSrc="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><br><font face="monospace, monospace">Stephan Moratti, PhD</font></div><div><font face="monospace, monospace">Profesor de Psicología Experimental</font></div><div><font face="monospace, monospace">Departamento de Psicología Experimental</font></div><div><font face="monospace, monospace">Facultad de Psicología</font></div><div><font face="monospace, monospace">Center for Cognitive and Computational Neuroscience</font></div><div><font face="monospace, monospace">Universidad Complutense de Madrid</font></div><div><font face="monospace, monospace"><a href="mailto:smoratti@ucm.es" target="_blank">smoratti@ucm.es</a></font></div><div><br><img src="http://www.ucm.es/logo/ucm.png"><br></div><div dir="ltr"><br><div dir="ltr">La información contenida en este correo es CONFIDENCIAL, de uso exclusivo del destinatario/a arriba mencionado. Si ha recibido este mensaje por error, notifíquelo inmediatamente por esta misma vía y proceda a su eliminación, ya que ud. tiene totalmente prohibida cualquier utilización del mismo, en virtud de la legislación vigente.</div><div dir="ltr"><br></div><div dir="ltr">Los datos personales recogidos serán incorporados en la actividad de tratamiento 'Correoweb', bajo la titularidad del Vicerrectorado de Tecnologías de la Información, y en él el interesado/a podrá ejercer los derechos de acceso, rectificación, supresión u oposición ante el mismo (artículos 15-21 del Reglamento UE 2016/679 de 27 de abril de 2016).</div><div dir="ltr"><br></div><div dir="ltr"><img src="http://www.ucm.es/logo/ambiente.png"><span style="background-color:rgb(106,168,79)"> Antes de imprimir este correo piense si es necesario: el medio ambiente es cosa de todos.</span></div><div dir="ltr"><br></div><div dir="ltr">This message is private and confidential and it is intended exclusively for the addressee. If you receive this message by mistake, you should not disseminate, distribute or copy this e-mail. Please inform the sender and delete the message and attachments from your system, as it is completely forbidden for you to use this information, according to the current legislation. No confidentiality nor any privilege regarding the information is waived or lost by any mistransmission or malfunction.</div><div dir="ltr"><br></div><div dir="ltr">The personal data herein will be collected in the file "Correoweb", under the ownership of the Vice-Rectorate for Information Technologies, in which those interested may exercise their right to access, rectify, erasure or right to object the contents (article 15-21 of Regulation (EU) 2016/679, General Data Protection Regulation).</div><div dir="ltr"><br></div><div dir="ltr"><img src="http://www.ucm.es/logo/ambiente.png"> <span style="background-color:rgb(106,168,79)">Before printing this mail please consider whether it is really necessary: the environment is a concern for us all.</span></div><div><br></div></div></div></div></div></div></div></div></div>