<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hello Masoud,</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
I never run ICA on interpolated data. As the data are interpolated with the average value across the neighbor channels, you may affect negatively the ICA algorithm. </div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thus, I usually remove the bad channels and epochs, run the ICA without them, remove the artifactual components and then interpolate the channels I removed. </div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
For the same reason, I usually re-reference the data at the end of the preprocessing. </div>
<div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best wishes,
<div>Elisa</div>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div></div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<div style="margin-top:0px; margin-bottom:0px; margin-top:0; margin-bottom:0">
<div dir="ltr" style="margin:0px; font-family:Calibri,Helvetica,sans-serif; font-size:12pt">
<div style="margin: 0px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px; color: rgb(33, 33, 33);">
<div style="margin:0px">
<div style="margin:0px">
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 12pt; color: black;"><br>
</span><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">Elisa Tatti, Ph.D.</span></p>
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">Post Doctoral Research Fellow </span><span style="margin:0px; font-family:"Times New Roman",serif,serif,EmojiFont; font-size:12pt"><u></u><u></u></span></p>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<div style="margin:0px">
<p style="margin:0in 0in 0.0001pt"><span style="color: rgb(102, 102, 102); font-size: 11pt; font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">CUNY, School of Medicine </span><br>
</p>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span></div>
<div style="margin:0px"><span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">160 Convent ave</span><span style="margin:0px; font-family:"Times New Roman",serif,serif,EmojiFont; font-size:12pt"><u></u><u></u></span></p>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<div style="margin:0px">
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">10031 </span><span style="margin:0px; font-family:"Times New Roman",serif,serif,EmojiFont; font-size:12pt"><u></u><u></u></span></p>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<div style="margin:0px">
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">New York City, NY </span><span style="margin:0px; font-family:"Times New Roman",serif,serif,EmojiFont; font-size:12pt"><u></u><u></u></span></p>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<div style="margin:0px">
<p style="margin:0in 0in 0.0001pt"><span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;"> </span><span style="margin:0px; font-family:"Times New Roman",serif,serif,EmojiFont; font-size:12pt"><u></u><u></u></span></p>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span></div>
</div>
<span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"></span>
<p style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;">
<span style="margin: 0px; font-size: 11pt; color: rgb(102, 102, 102); font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif;">Tel. +1 3472043952</span></p>
<p style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;">
<span style="margin: 0px; font-size: 12pt; color: black;"><br>
</span></p>
<p style="margin: 0in 0in 0.0001pt; color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;">
<span style="margin: 0px; font-size: 12pt; color: black;"></span></p>
<div style="font-family:Calibri, Arial, Helvetica, sans-serif;text-align:start">
<div style="margin:0px"><span><font size="2"><span style="font-family: Raavi, "Nirmala UI", "Gurmukhi MN", sans-serif; font-size: 11pt; color: rgb(102, 102, 102);"><i> pronouns: she/her/hers</i></span></font></span></div>
</div>
<br>
<p></p>
</div>
<div style="margin:0px">
<div style="margin: 0px; color: rgb(51, 51, 51); text-align: start;"></div>
<br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of masoud via fieldtrip <fieldtrip@science.ru.nl><br>
<b>Sent:</b> Saturday, April 16, 2022 06:19<br>
<b>To:</b> fieldtrip@science.ru.nl <fieldtrip@science.ru.nl><br>
<b>Cc:</b> masoud <masoudheshmatibnd@gmail.com><br>
<b>Subject:</b> [FieldTrip] a question about preprocessing</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear fieldtrip community
<div>
<div class="x_gmail-adn x_gmail-ads" style="border-left:none; padding:0px; display:flex; font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:medium">
<div class="x_gmail-gs" style="margin:0px; padding:0px 0px 20px; width:1104px">
<div class="x_gmail-">
<div id="x_gmail-:p9" class="x_gmail-ii x_gmail-gt" style="direction:ltr; margin:8px 0px 0px; padding:0px; font-size:0.875rem">
<div id="x_gmail-:p8" class="x_gmail-a3s x_gmail-aiL" style="font-variant-numeric:normal; font-variant-east-asian:normal; font-stretch:normal; font-size:small; line-height:1.5; font-family:Arial,Helvetica,sans-serif; overflow:hidden">
<div dir="ltr">
<div dir="auto">I hope this email finds you well. I am writing to you with the hope that you might be able to help me to find a proper answer for a question which I have been dealing with.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am a master student in Biomedical Engineering and I've been using the EEGlab toolbox to preprocess the acquired EEG data for my master thesis.</div>
<div dir="auto"><br>
</div>
<div>My question is about EEG preprocessing orders, more specifically when is more suitable to apply ICA  to my data. In my current setting, first, I downsample data and use a hp filter (cut-off frequency is 1 Hz), then I interpolate the suspected bad channels,
 but I don't know if I should use ICA and then use re-referencing or vice versa?</div>
<div><br>
</div>
<div>Although I know there is no definite answer for this question, it would be highly appreciated if you kindly share your opinion and experience as an expert in this field  with me, and let me know if my current preprocessing setting is appropriate and, specifically,
 should I use re-referencing after ICA or before that?</div>
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto">Thank you in advance for your consideration. I am looking forward to hearing from you.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best regards,</div>
<div>Masoud</div>
</div>
<div class="x_gmail-yj6qo"></div>
<div class="x_gmail-adL"></div>
</div>
<div class="x_gmail-adL"></div>
</div>
</div>
<div class="x_gmail-hi" style="border-bottom-left-radius:1px; border-bottom-right-radius:1px; padding:0px; width:auto; background:rgb(242,242,242); margin:0px">
</div>
</div>
</div>
<div class="x_gmail-ajx" style="clear:both"></div>
</div>
<div class="x_gmail-gA x_gmail-gt x_gmail-acV" style="font-size:0.875rem; padding:0px; width:auto; border-bottom-left-radius:0px; border-bottom-right-radius:0px; border-top:none; margin:0px; background-image:initial; background-position:initial; background-size:initial; background-repeat:initial; background-origin:initial; background-clip:initial; font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif">
<div class="x_gmail-gB x_gmail-xu" style="border-top:0px; padding:0px">
<div class="x_gmail-ip x_gmail-iq" style="clear:both; margin:0px; padding:16px 0px; border-top:none">
<br class="x_gmail-Apple-interchange-newline">
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>