Questions on freqanalysis

gao zai zaifengg at GMAIL.COM
Sun Feb 14 11:16:31 CET 2010


Dear all,

I am now trying to do the frequencyanalysis in Fieldtrip. Since the data is
analyzed in EEGlab before, thus I first convert the data from EEGlab to
Fieldtrip using eeglab2fieldtrip: *data = eeglab2fieldtrip(EEG,
'preprocessing' )*. The data was epoched from -200 ms to 1400ms time-locked
to the onset of the stimuli.

Then I run the following scripts:

cfg              = [];
cfg.output       = 'pow';
cfg.method       = 'mtmconvol';
cfg.taper        = 'hanning';
cfg.foi          = 5:1:30;
cfg.t_ftimwin    = 7./cfg.foi;  % 7 cycles per time window
cfg.toi          = -0.15:0.05:1.35; % to reduce boundary effects
TFRhann = freqanalysis(cfg, data);

However, part of the result in TFRhann.*powspctrm* is *NaN*. And I didn't
see any problem in the parameters I use. I wonder whether someone can give
me some suggestions to fix it? Many thanks.

Best,
Feng

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100214/5dd5d460/attachment.html>


More information about the fieldtrip mailing list