[Eeglablist] plotting tftopo with ITC across channels

Tae-Ho Lee tothememory at gmail.com
Sun Oct 5 04:22:12 PDT 2008


Dear collegues,

Theasedays, I've tried to plot ITC value with topoplot.
According to below syntax, i computed all value (ERSP, ITC) across channels.
I can't, however, plot the ITC value with tftopo function.
It looks that allitc and allersp matrix are something different.
I think that the problem is due to the matrix structure.
Any help would be much appreciated.

Sincerely

Lee

---------------------------------
for elec = 1:EEG.nbchan
      [ersp,itc,powbase,times,freqs,erspboot,itcboot] = pop_newtimef(EEG, 1,
elec, [EEG.xmin EEG.xmax]*1000, [3 0.5], 'freqs', [20 60], 'padratio',
16, 'plotphase', 'off', 'timesout', 60, 'alpha', .001, 'plotersp','off',
'plotitc','off');
      if elec == 1
              allersp = zeros([ size(ersp) EEG.nbchan]);
              allitc = zeros([ size(itc) EEG.nbchan]);
              allpowbase = zeros([ size(powbase) EEG.nbchan]);
              alltimes = zeros([ size(times) EEG.nbchan]);
              allfreqs = zeros([ size(freqs) EEG.nbchan]);
              allerspboot = zeros([ size(erspboot) EEG.nbchan]);
              allitcboot = zeros([ size(itcboot) EEG.nbchan]);
      end;
      allersp (:,:,elec) = ersp;
      allitc (:,:,elec) = itc;
      allpowbase (:,:,elec) = powbase;
      alltimes (:,:,elec) = times;
      allfreqs (:,:,elec) = freqs;
      allerspboot (:,:,elec) = erspboot;
      allitcboot (:,:,elec) = itcboot;
 end;
*
*figure;
tftopo(allitc,alltimes(:,:,1),allfreqs(:,:,1),'mode','ave','limits', [nan
nan nan 60 -0.5 0.5],'signifs', allitcboot, 'sigthresh', [6],
'timefreqs', [200 20; 350 30], 'chanlocs', EEG.chanlocs);
---------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20081005/edc89aef/attachment.html>


More information about the eeglablist mailing list