<div dir="ltr"><div><div><div>Hello<br><br></div>I converted my preprocessed data from eeglab to fieldtrip and successfully ran an FFT, but I would like to apply a 40% hanning window. I'm assuming by choosing hanning as my taper, it's applied to the entire trial. Here is what I have:<br><br>%convert dataset from an EEGlab structure to a fieldtrip structure<br>data = eeglab2fieldtrip(EEG,'preprocessing','none')<br><br>cfg = [];<br>cfg.method = 'mtmfft'; %run an fft<br>cfg.taper = 'hanning'; %chose a hanning window<br>cfg.foilim = [4 7] %frequencies of interest. In this case, theta<br>cfg.output = 'pow'<br><br>freq = ft_freqanalysis(cfg,data)<br><br></div>Also, my data is made up of 2 second epochs. I'm assuming each cell in the output (freq.powspctrm) is theĀ  average of the power of a specific frequency (e.g. 4Hz) within each epoch. Is this accurate?<br><br></div>Thanks for the help,<br>Brittany<br></div>