[FieldTrip] help with topoplot_TFR

Tzvetan Popov tzvetan.popov at uni-konstanz.de
Thu Jan 29 19:31:24 CET 2015


Hi Payashi,

>  I have computed the ratio per sample and called it ADR. It is a 14x1x480 matrix (channels x freq x time).
good, so now you squeeze(ADR) in order to get the actual ‘chan_time’ representation. Then you introduce a new variable say tlk_ADR:
tlk_ADR.avg      =ADR;
tlk_ADR.label    = freq_ADR.label;
tlk_ADR.dimord = freq_ADR.dimord;
tlk_ADR.time     = freq_ADR.time;
tlk_ADR.elec     = freq_ADR.elec;

then you call all plotting functions that deal with time domain signals such as ft_multiplotER, ft_singleplotER and ft_topoplotER. Not …TFR. 
So your code would look like;
> cfg=[];
> cfg.xlim = [3000 3200];
> cfg.colorbar = 'yes';
> figure
> ft_topoplotER(cfg, tlk_ADR);

good luck
tzvetan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150129/534d54ce/attachment-0002.html>


More information about the fieldtrip mailing list