<div dir="ltr">Dear Carlota Pages,<div><br></div><div>I'm not 100% sure about my expertise but I'll try to do a few comments. You stated that whether this would be due to a preparation for a blink which occurs after the end of the trial, however, as you also stated that this effect disappears once you calculate the difference between conditions; hene, it would be unlikely to be due to a random blink effect. I was wondering whether this would be due to line noise since the script here does not contain any cfg input for line noise removal (for ft_preprocessing). Hope my limited knowledge does not cause any problem.</div><div><br></div><div>Best wishes,</div><div>Mustafa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">PAGES PORTABELLA, CARLOTA MARIA <<a href="mailto:carlota.pages@upf.edu">carlota.pages@upf.edu</a>>, 14 Ara 2020 Pzt, 23:07 tarihinde şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Fieldtrip community, <br>I am Carlota Pagès, a Ph.D. candidate in the CBC of UPF (Barcelona). Currently, I'm exploring the neural oscillations of music unexpectedness. <div><br clear="all"><div>I have run time-frequency analysis on my EEG data via wavelet convolution and applied a dB baseline correction for my different conditions. However, when I plot the output, it appears some activity that (in my opinion) does not look as brain-related because of its high power values and might be masking the effects of interest (best seen in electrode Fz). When I calculate the difference between conditions, it disappears. Therefore, it is equally present in all conditions.</div><div>I wondered whether it might be an artifact due to a preparation of blink (which happens right after the end of the trial) or an effect of the baseline correction (baselines are statistically equal across conditions). Please find the image and my script (for a single subject) below.</div><div>Have any of you observed something similar and have a clue on what could be causing it? And if so, what would be a good way to correct it? </div><div></div><div>Any help would be appreciated.</div><div><br></div><div>





<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg = [];</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.demean = <span style="color:rgb(178,69,243)">'yes'</span>;</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">data_demean = ft_preprocessing(cfg, data);</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;min-height:12px"><span>% wavelet convolution </span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg = [];</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.method <span>    </span>= <span style="color:rgb(178,69,243)">'wavelet'</span>;</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.output <span>    </span>= <span style="color:rgb(178,69,243)">'pow'</span>;</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.foi<span>        </span>= 30:1:60;<span> </span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.width<span>      </span>= 10;<span> </span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(74,135,78)"><span style="color:rgb(0,0,0)">cfg.toi<span>        </span>= -0.7:0.03:1.2; </span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.pad =<span>  </span>2;</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.trials <span>    </span>= data.trialinfo == 1;</p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">wavelet_cond1 = ft_freqanalysis(cfg, data_demean);</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">% db normalization</p><p style="margin:0px;font:10px Courier">cfg = [];</p><p style="margin:0px;font:10px Courier">cfg.baseline = [-0.2 -0.05];</p><p style="margin:0px;font:10px Courier">cfg.baselinetype = <span style="color:rgb(178,69,243)">'db'</span>;</p><p style="margin:0px;font:10px Courier;min-height:12px">wavelet_cond1_db = ft_freqbaseline(cfg, wavelet_cond1);</p><p style="margin:0px;font:10px Courier;min-height:12px">% multiplot</p><p style="margin:0px;font:10px Courier">cfg = [];</p><p style="margin:0px;font:10px Courier">cfg.colorbar <span>    </span>= <span style="color:rgb(178,69,243)">'yes'</span>;</p><p style="margin:0px;font:10px Courier">cfg.channel = {<span style="color:rgb(178,69,243)">'all'</span>, <span style="color:rgb(178,69,243)">'-Fp1'</span>, <span style="color:rgb(178,69,243)">'-Fp2'</span>};</p><p style="margin:0px;font:10px Courier">cfg.showlabels = <span style="color:rgb(178,69,243)">'yes'</span>;</p><p style="margin:0px;font:10px Courier">cfg.layout = acticap32;</p><p style="margin:0px;font:10px Courier">figure; ft_multiplotTFR(cfg, wavelet_cond1_db);</p><p style="margin:0px;font:10px Courier"><br></p><img src="cid:ii_kioyynxh0" alt="multiplot.png" width="478" height="353"><br><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier"><br></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;min-height:12px"><span> </span></p></div><div><br></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font color="#000000">Carlota Pagès</font><div><br><div><a href="https://www.upf.edu/web/lcc/entry/-/-/139611/adscripcion/carlota-pag%C3%A8s" target="_blank">PhD Student </a></div><div><a href="https://www.upf.edu/web/lcc" target="_blank">Language & Comparative Cognition Group</a> l <span style="font-size:12.8px"><a href="http://cbc.upf.edu/" target="_blank">Center for Brain and Cognition</a> l </span><span style="font-size:12.8px">UPF </span></div><div><span style="font-size:12.8px"><br></span></div><div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#999999"><u>Office 24.326</u></font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#999999"><u>Mercè Rodoreda Building</u></font></div><div style="font-size:12.8px"><font face="verdana, sans-serif" color="#999999"><u><span title="Ramon Trias Fargas, 25-27" style="font-size:12.8px"><a href="https://maps.google.com/?q=c%5C+Ramon+Trias+Fargas,+25-27+08005+Barcelona&entry=gmail&source=g" target="_blank">c\ Ramon Trias Fargas, 25-27</a><br></span><span title="08005 Barcelona" style="font-size:12.8px"><a href="https://maps.google.com/?q=c%5C+Ramon+Trias+Fargas,+25-27+08005+Barcelona&entry=gmail&source=g" target="_blank">08005 Barcelona</a></span></u></font></div></div><div><br></div></div></div></div></div></div></div></div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="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://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><b>Mustafa Yavuz </b><div><br></div><div>M.Sc. Candidate in Neuroscience </div><div><br></div><div>Department of Neuroscience </div><div>İstanbul University <br></div><div><br></div></div></div>