<div dir="ltr">ok, great, thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-27 11:46 GMT+02:00 Pelt, S. van (Stan) <span dir="ltr"><<a href="mailto:stan.vanpelt@donders.ru.nl" target="_blank">stan.vanpelt@donders.ru.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="NL">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Dear Fedrica,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Yes it is. You can get to the same outcome directly by just specifying cfg.keeptrials=’no’ (the default), but I assume you want to do some single-trial
analysis later on.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Stan<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a> [mailto:<a href="mailto:fieldtrip-bounces@science.ru.nl" target="_blank">fieldtrip-bounces@science.ru.nl</a>]
<b>On Behalf Of </b>Federica Mauro<br>
<b>Sent:</b> woensdag 27 mei 2015 11:28<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> [FieldTrip] Power Spectra - averaging across samples<u></u><u></u></span></p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear all,<u></u><u></u></p>
</div>
<p class="MsoNormal">I have a question about spectral power computation.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm using this code<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">cfg = [];<br>
cfg.output = 'pow';<br>
cfg.method = 'mtmfft';<br>
cfg.taper = 'hanning';<br>
cfg.foi = 5:1:40;<br>
cfg.t_ftimwin = 5./cfg.foi;<br>
cfg.tapsmofrq = 5;<br>
cfg.keeptrials = 'yes';<br>
cfg.channel = {'Fp1' 'Fp2' 'F7' 'F3' 'Fz' 'F4' 'F8' 'T3' 'C3' 'Cz' 'C4' 'T4' 'T5' 'P3' 'Pz' 'P4' 'T6' 'O1' 'O2'};<br>
freqfourier = ft_freqanalysis(cfg, eeg);<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">and the power spectrum output is a matrix 138 (samples) X 19 (electrodes) X 36 (frequencies), for each subject.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">My question is: is it correct to average the data across the samples dimension?<u></u><u></u></p>
</div>
<p class="MsoNormal">Thank you in advance!<u></u><u></u></p>
</div>
<p class="MsoNormal">Best,<u></u><u></u></p>
</div>
<p class="MsoNormal">Federica<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>