<div dir="ltr">I've combed the interwebs and still haven't found a good answer.<div><br></div><div>My data has a -5s rest period followed by a 20s active period (task related experiment, not event related). My pipeline includes rmbase(), among other things.</div><div>Now, when I run newtimef, I can create nice plots from the ersp obtained using:</div><div><br></div><div><p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">    [ersp, itc, powbase, times, freqs, erspboot, itcboot, tfdata] = <span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">        newtimef( EEG.data(channel,:,:),<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            EEG.pnts, [EEG.xmin EEG.xmax]*1000,<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            EEG.srate,<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            cycles,<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            <span style="color:rgb(178,69,243)">'plotersp'</span>, <span style="color:rgb(178,69,243)">'off'</span>,<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            <span style="color:rgb(178,69,243)">'plotitc'</span>, <span style="color:rgb(178,69,243)">'off'</span>,<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            <span style="color:rgb(178,69,243)">'freqs'</span>, [2 25],<span style="color:rgb(4,51,255)">...</span></p>
<p style="margin:0px;font-size:10px;line-height:normal;font-family:Courier">            <span style="color:rgb(178,69,243)">'scale'</span>, <span style="color:rgb(178,69,243)">'abs'</span>);</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><br></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px">I just do a mean(ersp, 2) to average across time, then mean() across subjects. The x-axis of my plot is frequency, but I don't know what the units for the y-axis would be. I think it is percent of baseline? Now if the values I'm seeing are percent of baseline, that means they're measured relative to the baseline, which is redundant because I've already removed the baseline.</p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px">If I add the <span style="font-size:10px;color:rgb(178,69,243)">'baseline'</span><span style="font-size:10px">,[NaN] argument to newtimef, my plots then look like ski slopes (high at low frequencies, low at higher frequencies).</span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px">What I would really like to have is just µV^2 so I can eventually compare, say, C3 between conditions and see the difference. Is that possible?</span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px"><br></span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px">I've seen this question several times on the 'net, but haven't found a good answer.</span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px"><br></span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px">Thanks,</span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px">John</span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px"><br></span></p><p style="margin:0px;font-size:12px;line-height:normal;font-family:Courier;min-height:14px"><span style="font-size:10px"><br></span></p><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Sent from a MacBook Pro<br></div>
</div></div>