<div dir="ltr">Dear Leonardo,<div><br></div><div>&gt; 1- The code that you recommended computes power spectrum in <span style="font-size:12.8px">&quot;</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)&quot;. 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&#39;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>&gt; 2- In fact, my major aim is computing power spectrum in &quot;uV^2&quot; 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 &quot;</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)&quot; (please see the attached file). Kindly, could you guide me to way of computing the power </span>in &quot;uV^2&quot; unit ?</div><div><br></div><div>Again, if you remove Hz, then you multiply the power spectrum by data length in second. You don&#39;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>&gt; 3- Is there any formula that converts <span style="font-size:12.8px">power spectrum from &quot;</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)&quot; unit into &quot;</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">&quot; 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&#39;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">&lt;<a href="mailto:llionname@gmail.com" target="_blank">llionname@gmail.com</a>&gt;</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">&quot;</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)&quot;. 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 &quot;uV^2&quot; 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 &quot;</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)&quot; (please see the attached file). Kindly, could you guide me to way of computing the power </span>in &quot;uV^2&quot; unit ?</div><div><br></div><div>3- Is there any formula that converts <span style="font-size:12.8px">power spectrum from &quot;</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)&quot; unit into &quot;</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">&quot; unit?</span></div><div><span style="color:black;font-family:calibri,sans-serif;font-size:11pt"><br></span></div><div><font color="#000000" face="calibri, sans-serif"><span style="font-size:14.6667px">Kind regards, </span></font></div><div><font color="#000000" face="calibri, sans-serif"><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 class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2017 at 02:08, Makoto Miyakoshi <span dir="ltr">&lt;<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>&gt;</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&#39;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="gmail-m_-6497193655052184985h5">On Tue, Jan 31, 2017 at 9:25 AM, Leonardo Lion <span dir="ltr">&lt;<a href="mailto:llionname@gmail.com" target="_blank">llionname@gmail.com</a>&gt;</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="gmail-m_-6497193655052184985h5"><div dir="ltr">Hi all, <div><br></div><div>How to convert the EEGLAB power spectrum &quot;<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)&quot; into &quot;</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">&quot; 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="gmail-m_-6497193655052184985m_3361286834901260800HOEnZb"><font color="#888888"><div><font color="#000000" face="calibri, sans-serif"><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 &quot;set digest mime&quot; to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.e<wbr>du</a><span class="gmail-m_-6497193655052184985HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="gmail-m_-6497193655052184985HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="gmail-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></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></div>