<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)">Hi all,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)">I'm starting with EEG analysis and Fiedltrip, and I'll would like to plot topographical maps of the connectivity (using imaginary part of coherence). I tried ft_topoplotCC to make a connection line/arrow graph, but I think I'm doing something wrong because the graph at 10 hz seems to be the same at 50 hz (attached some images). In addition, I was wondering if there is any way to set a threshold, so only fewer lines are plotted in the connection map. Below the code I'm using in matlab.<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)">%CODE<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"> %calculate coherence<br> cfg = [];<br> cfg.method = 'mtmfft';<br> cfg.taper = 'hanning';<br> %connectivity analysis needs power and phase -> 'pownadcsd'<br> cfg.output = 'powandcsd';<br> % windows of frequency of interest foilim<br> cfg.foilim = [1 60];<br> freq1 = ft_freqanalysis(cfg, data);<br> <br> %calculating the imaginary part of the coherence<br> cfg = [];<br> cfg.method = 'coh';<br> cfg.complex = 'absimag';<br> conn1 = ft_connectivityanalysis(cfg, freq1);<br> <br> %The conectome<br> %figure;imagesc(conn1.cohspctrm);<br> <br> cfg = [];</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"> %my layout<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"> cfg.layout = layout;<br> cfg.foi = 10;<br> ft_topoplotCC(cfg, conn1)<br> <br> cfg = [];<br> cfg.layout = layout;<br> cfg.foi = 50;<br> ft_topoplotCC(cfg, conn1)<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(0,0,0)"><br clear="all"></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="margin:0cm 0cm 0.0001pt"><span style="font-size:9pt">Best
regards / Cordiales saludos</span></p>
<p style="margin:0cm 0cm 0.0001pt"><span style="font-size:12px">Christian <br></span></p><p style="margin:0cm 0cm 0.0001pt"><span style="font-size:12px"><br></span></p></div></div></div></div></div>
</div>