<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Dear WanYu<div><br></div><div>Regarding your first question: I am not sure what you expected to see in the figure, and what you actually did see. Perhaps you should be using ft_connectivityplot instead. Note that the high-level plotting functions (the ones that take a cfg as first input) are only there to help you to get started with the figures, you can always plot the actual data yourself using low-level matlab functions and using the helper functions in the fieldtrip/plotting directory.</div><div><br></div><div>Regarding the second question, perhaps these address your question</div><div><a href="http://www.fieldtriptoolbox.org/faq/why_is_there_a_residual_50hz_line-noise_component_after_applying_a_dft_filter">http://www.fieldtriptoolbox.org/faq/why_is_there_a_residual_50hz_line-noise_component_after_applying_a_dft_filter</a> </div><div><a href="http://www.fieldtriptoolbox.org/tag/filter?do=showtag&tag=filter">http://www.fieldtriptoolbox.org/tag/filter?do=showtag&tag=filter</a></div><div><br></div><div>best regards,</div><div>Robert</div><div><br></div><div><br></div><div><br><div><div>On 14 Apr 2015, at 00:48, WanYu Hsu <<a href="mailto:wanyu@gazzaleylab.ucsf.edu">wanyu@gazzaleylab.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi community,


<p>Recently I am analyzing EEG dataset with only 20 channels and I am focusing on coherence between frontal and posterior electrodes in frequency domain.</p><p>I got two questions here:</p><p>1. I wanted to topoplot the coherence between each pair of electrodes that we're interested in, and I tried the following script:</p><p>cfg                    = [];<br>cfg.colorparam = 'plvspctrm';<br>cfg.layout         = 'biosemi64.lay';<br>cfg.foi =[4];<br>ft_topoplotCC(cfg, plv_avg_stim);</p><p>The electrode layout and coherence we wanted to see were in the plot, but the plot did not show coherence related to FP1, FP2, and FPz. Am I doing something wrong? </p><p><br></p><p>2. I would like to apply notch filter to remove 6 Hz and first I tried</p>cfg.dftfilter ='yes';     <br>cfg.dftfreq = [6] <br>but the 6Hz signal was still there.<p>Then I also tried</p><p>cfg.bsfilter ='yes';<br>cfg.bsfreq =[5 7];</p><p>This worked well to remove 6Hz signal, but it also affected 5Hz and 7Hz.</p><p>Is there any way to remove 6 Hz specificlly?<br></p><p>Any help would be appreciated. <br></p><p><br></p><p>Best,</p><p>Wanyu Hsu<br></p><p><br></p><p> <br></p><br></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br></div></body></html>