In the default,the value of power spectra is transformed to 10*log10(power),I think that's why you got negative values.<br><br><div class="gmail_quote">2012/5/22 Christian Scharinger <span dir="ltr"><<a href="mailto:c.scharinger@gmx.net" target="_blank">c.scharinger@gmx.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear eeglab users,<br>
<br>
I'm still struggling with the question why eeglab calculates spectra<br>
with negative power values for my data in a study design.<br>
Reading the eeglab documentation and surfing through the eeglablist<br>
archives I didn't find a solution how one could get spectra with<br>
absolute power values in eeglab study design.<br>
<br>
When I use fieldtrip instead of eeglab for calculating spectra I get the<br>
data I'd like to have (that is positive absolute power values). But I<br>
really like the opportunities eeglab offers in study design, so I'd like<br>
to stay within this framework if possible.<br>
<br>
Maybe someone has any suggestions for my problem (see code below)?<br>
<br>
I'm sorry to bother the list again with the same question, but as I got<br>
always very helpful comments from the list for other questions I had in<br>
the past (many thanks!), I'd be glad about any helpful comments this time.<br>
<br>
Best<br>
Christian<br>
<br>
<br>
<br>
I use the following code for calculating the spectrum in a STUDY design:<br>
<br>
[STUDY ALLEEG] = std_precomp(STUDY, ALLEEG, 'channels', 'design', [1],<br>
'erp', 'off', 'spec', 'on', 'ersp', 'off', 'specparams', { 'specmode',<br>
'psd', 'recompute', 'on', 'timerange', [1300 1800], 'freqfac', [4] },<br>
'savetrials', 'off');<br>
<br>
STUDY = pop_specparams(STUDY, 'groupstats','on', 'mcorrect','fdr',<br>
'threshold',0.05,'plotgroups','together','freqrange',[1 30],<br>
'rmsubjmean', 'off');<br>
<br>
With this code, I'm getting negative power values...<br>
<br>
So I guess I'm not getting absolute power values (what I would like to<br>
have) but power values in relation to some kind of baseline.<br>
<br>
Is it possible to get absolute power values for a spectrum in a STUDY<br>
design?<br>
Where can I see/change what baseline eeglab uses for calculating power<br>
values?<br>
<br>
Many thanks in advance,<br>
<br>
Christian<br>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Yuan-Fang Chao <br>School of Psychology<br>SouthWest University<br>Beibei,Chongqing,China<br><br><br><br>