<div dir="ltr">Dear Laxmi,<div><br></div><div>I can't agree with you any more. You can also make money and cure disease, only if you know how to use it!</div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 7, 2017 at 8:23 PM, Laxmi Shaw <span dir="ltr"><<a href="mailto:laxmi.shaw22@gmail.com" target="_blank">laxmi.shaw22@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">Use Matlab. U can easily calculate PSD<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 7:44 AM, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</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">Dear Leonardo,<div><br></div><div>> 1- The code that you recommended computes power spectrum in <span style="font-size:12.8px">"</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)". In this case, can we consider this unit without Hz (i.e., only </span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2)</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">)?</span><br></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">It is called power spectrum density (PSD). It means whatever power <i>per second</i>. Hence you have Hz in the unit. If it is not per second, 20 s long data would have twice as large power than 10 s long data. So you can't remove Hz from the unit to show what you exactly mean.</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><div>> 2- In fact, my major aim is computing power spectrum in "uV^2" unit, and the code you recommended does different thing--it, actually, computes power spectrum in <span style="font-size:12.8px">power spectrum in unit "</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)" (please see the attached file). Kindly, could you guide me to way of computing the power </span>in "uV^2" unit ?</div><div><br></div><div>Again, if you remove Hz, then you multiply the power spectrum by data length in second. You don't want to do it. If you want to convert it from log scale to linear scale, use 10^(x/10)</div><div><br></div><div>> 3- Is there any formula that converts <span style="font-size:12.8px">power spectrum from "</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)" unit into "</span><span style="color:rgb(0,0,0);font-family:calibri,sans-serif;font-size:14.6667px">uV^2</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">" unit?</span></div></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">Again, 10^(x/10) but you still want to do uV^2/Hz, otherwise you can't compare data with different lengths.</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">Makoto</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 2, 2017 at 5:46 PM, Leonardo Lion <span dir="ltr"><<a href="mailto:llionname@gmail.com" target="_blank">llionname@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Makoto, <div><br></div><div>Thank you so much for your help.</div><div><br></div><div>I have two main issues:</div><div><br></div><div>1- The code that you recommended computes power spectrum in <span style="font-size:12.8px">"</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)". In this case, can we consider this unit without Hz (i.e., only </span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2)</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">)?</span></div><div><br></div><div>2- In fact, my major aim is computing power spectrum in "uV^2" unit, and the code you recommended does different thing--it, actually, computes power spectrum in <span style="font-size:12.8px">power spectrum in unit "</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)" (please see the attached file). Kindly, could you guide me to way of computing the power </span>in "uV^2" unit ?</div><div><br></div><div>3- Is there any formula that converts <span style="font-size:12.8px">power spectrum from "</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)" unit into "</span><span style="color:rgb(0,0,0);font-family:calibri,sans-serif;font-size:14.6667px">uV^2</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">" unit?</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><font face="calibri, sans-serif" color="#000000"><span style="font-size:14.6667px">Kind regards, </span></font></div><div><font face="calibri, sans-serif" color="#000000"><span style="font-size:14.6667px">Leonardo</span></font></div><div><br></div><div><br></div><div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/0B0y4HUxjACscVUlmTEFBTldKTE0/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_11_image_list.png"> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">power.png</span></a></div> </div></div><div><div class="m_3708461357793888204h5"><div class="m_3708461357793888204m_-3376986298297947765gmail-HOEnZb"><div class="m_3708461357793888204m_-3376986298297947765gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2017 at 02:08, Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear Leonardo,<div><br></div><div>See my wiki page for the example code. Unfortunately, you can't do this from GUI.</div><div><a href="https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#How_to_extract_EEG_power_of_frequency_bands" target="_blank">https://sccn.ucsd.edu/wiki/Mak<wbr>oto%27s_useful_EEGLAB_code#How<wbr>_to_extract_EEG_power_of_frequ<wbr>ency_bands</a><br></div><div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985h5">On Tue, Jan 31, 2017 at 9:25 AM, Leonardo Lion <span dir="ltr"><<a href="mailto:llionname@gmail.com" target="_blank">llionname@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985h5"><div dir="ltr">Hi all, <div><br></div><div>How to convert the EEGLAB power spectrum "<span style="color:black;font-family:calibri,sans-serif;font-size:11pt">10*log</span><sub style="color:black;font-family:calibri,sans-serif">10</sub><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">(uV^2/Hz)" into "</span><span style="color:rgb(0,0,0);font-family:calibri,sans-serif;font-size:14.6667px">uV^2</span><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">" only?</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt">Thanks.</span></div><span class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985m_3361286834901260800HOEnZb"><font color="#888888"><div><font face="calibri, sans-serif" color="#000000"><span style="font-size:14.6667px">Leonardo</span></font></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><span class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_3708461357793888204m_-3376986298297947765gmail-m_-6497193655052184985m_3361286834901260800gmail_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>
</font></span></div>
</blockquote></div><br></div>
</div></div></div></div></blockquote></div><div><div class="m_3708461357793888204h5"><br><br clear="all"><div><br></div>-- <br><div class="m_3708461357793888204m_-3376986298297947765gmail_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></div></div></div>
<br>______________________________<wbr>_________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/ee<wbr>glabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.uc<wbr>sd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><br></blockquote></div><br><br clear="all"><br>-- <br></div></div><span class="HOEnZb"><font color="#888888"><div class="m_3708461357793888204gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Laxmi Shaw</div><div>Research Scholar(PhD)</div><div>IIT Kharagpur</div><div>West Bengal</div><div>Ph no-08388837821</div><div><br></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>