<div dir="ltr">Dear all,<br><br>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: <b>data = eeglab2fieldtrip(EEG, 'preprocessing' )</b>. The data was epoched from -200 ms to 1400ms time-locked to the onset of the stimuli. <br>
<br>Then I run the following scripts:<br><br>cfg = [];<br>cfg.output = 'pow';<br>cfg.method = 'mtmconvol';<br>cfg.taper = 'hanning';<br>cfg.foi = 5:1:30;<br>
cfg.t_ftimwin = 7./cfg.foi; % 7 cycles per time window<br>cfg.toi = -0.15:0.05:1.35; % to reduce boundary effects<br>TFRhann = freqanalysis(cfg, data);<br><br>However, part of the result in TFRhann.<b>powspctrm</b> is <b>NaN</b>. 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.<br>
<br>Best,<br>Feng<br><br><br><br><br><br><br></div>
<p>----------------------------------</p>
<p>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.</p>
<p> http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p> http://www.ru.nl/fcdonders/fieldtrip/</p>