<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Kinkini,
<div class=""><br class="">
</div>
<div class="">I would recommend not doing a CAR before you have removed bad channels.</div>
<div class="">Also, I would recommend not tu â€˜repair’ any bad channels prior to running ICA.</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 1 May 2020, at 13:33, Kinkini . <<a href="mailto:bkinkini@gmail.com" class="">bkinkini@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Dear FieldTripers,
<div class=""><br class="">
</div>
<div class="">Hope everyone is coping well with the current situation.</div>
<div class=""><br class="">
</div>
<div class="">I am relatively new in fieldtrip and I have been long stuck with using ft_channelrepair for quite sometime now.</div>
<div class=""><br class="">
</div>
<div class="">Briefly about my analysis pipeline:</div>
<div class="">1- Loading and epoching the data</div>
<div class="">2- ft_preprocessing - filtering, baselining, CAR</div>
<div class="">3- ft_databrowser - marking bad channels </div>
<div class=""><font style="background-color:rgb(252,229,205)" class="">4. ft_rejectvisual - rejecting bad channels; keepchannel = 'repair'</font></div>
<div class=""><font style="background-color:rgb(252,229,205)" class="">5. ft_channelrepair</font></div>
<div class="">6. ICA </div>
<div class="">7. TF Analysis</div>
<div class="">8. TF statististics</div>
<div class=""><br class="">
</div>
<div class="">I have problems pertaining to step 4 and 5. In step 4 I want to keep the bad channels so that I can interpolate them in the next step. When I use data browser to look thorough the data, the bad channels look okay. But the problem starts when I
 perform ICA on them. My first observation is that the wchange value is very big (looks like this : 257868.69202720), but ICA runs completely. However the ICA component topoplots look weird (screenshots attached). However, when I look through the icabrowser plots
 , there are peaks at physiological frequencies. </div>
<div class=""><br class="">
</div>
<div class="">In order to avoid this, I tried getting rid of the bad channels completely using ft_rejectvisual, perform ICA and then get back the missing channels using neighbourhood average. Doing this, I was able to perform TF analysis, but when I wanted
 to apply statistics on the data, I had errors. Finally, I had to avoid the entire step of  interpolation to be able to run everything and also perform statistics. But in a long run, I cannot avoid this step.</div>
<div class=""><br class="">
</div>
<div class="">I am finding no clue as to where is it going wrong. </div>
<div class=""><br class="">
</div>
<div class="">Hence, any idea, any clue from you all would help me very much. I am happy to provide with more details if necessary.</div>
<div class="">Thank you so much for your response.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">Kinkini Bhadra</div>
<div dir="ltr" class="">PhD student</div>
<div class="">Department of Fundamental Neurosciences</div>
<div dir="ltr" class="">University of Geneva</div>
<div dir="ltr" class=""><br class="">
<div class=""><b class=""><br class="">
</b></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<span id="cid:f_k9o3iwby0"><Screenshot 2020-05-01 11.57.28.png></span><span id="cid:f_k9o3iwce1"><Screenshot 2020-05-01 11.57.42.png></span>_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>