<div dir="ltr">Dear Seetaramaraju,<div><br></div><div>I have never computed entropy. To compute power,</div><div><br></div><div><div style="font-size:12.8000001907349px">%%%%%%%%%%%%%%%%%%%</div><div style><div style="font-size:12.8000001907349px"><div>% for your epoched data, channel 2</div><div>[spectra,freqs] = spectopo(EEG.data(2,:,:), 0, EEG.srate);</div><div><br></div><div>% delta=1-4, theta=4-8, alpha=8-13, beta=13-30, gamma=30-80</div><div>deltaIdx = find(freqs>1 & freqs<4);</div><div>thetaIdx = find(freqs>4 & freqs<8);</div><div>alphaIdx = find(freqs>8 & freqs<13);</div><div>betaIdx  = find(freqs>13 & freqs<30);</div><div>gammaIdx = find(freqs>30 & freqs<80);</div><div><br></div><div><font color="#ff0000">% compute absolute power</font></div><div><font color="#ff0000">deltaPower = mean(10.^(spectra(deltaIdx)/10));</font></div><div><font color="#ff0000">thetaPower = mean(10.^(spectra(thetaIdx)/10));</font></div><div><font color="#ff0000">alphaPower = mean(10.^(spectra(alphaIdx)/10));</font></div><div><font color="#ff0000">betaPower  = mean(10.^(spectra(betaIdx)/10));</font></div><div><font color="#ff0000">gammaPower = mean(10.^(spectra(gammaIdx)/10));</font></div></div><div style="font-size:12.8000001907349px">%%%%%%%%%%%%%%%%%</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Check also Simon Shlomo-Poil's NBT (and ask them, haha, to make the entropy measure if they don't have it yet)</div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><a href="http://www.nbtwiki.net/">http://www.nbtwiki.net/</a></span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Makoto</span></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 12:27 PM, seetaramaraju jampana <span dir="ltr"><<a href="mailto:seetaramaraju.jampana@gmail.com" target="_blank">seetaramaraju.jampana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>    Is there a way to calculate entropy and power of the EEG data for a single epoch. </div><div><br></div><div>Thanks,</div><div>Raju</div></div>
<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><div class="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>
</div>