Dear PengMin,<div><br></div><div>>  <b>"It is currently not possible to plot ERSP in linear frequency scale in study. We are working on fixing this issue."</b>
</div><div><br></div><div>Sorry but this means linear scaling is not supported in the current version.</div><div><br></div><div>> Could you briefly talk about the difference between two parameters: linear and log?
</div><div><br></div><div>Linear 10 scales from 1 to 100: 1 12 23 34 45 56 67 78 89 100</div><div>Log 10 scales from 1 to 100: 1 1.6 2.7 4.6 7.7 12.9 21.5 35.9 59.9 100<br><br>If you use log scale, you have more resolution in lower frequencies.</div>

<div><br></div><div>Makoto<br><br><div class="gmail_quote">2012/7/12 PengMin Qin <span dir="ltr"><<a href="mailto:qin.pengmin@gmail.com" target="_blank">qin.pengmin@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

 Dear Makoto,<br><br>Thank you very much! I have tried your suggestions. I used the parameters: 'freqs', [3 45], 'nfreqs', 14; but I did not give the 'freqscale'. I run the precompute, I did not get the equal freqscale space. So I tried to give the 'freqscale', first, I give parameters in the following way: 'freqs', [3 45], 'nfreqs', 14, 'freqscale', 'linear' (this is the default option in the help file), but I meet one error report: <b>"It is currently not possible to plot ERSP in linear frequency scale in study. We are working on fixing this issue."</b> When I try 'freqscale', 'log', this worked well. I have used two versions: 11_0_2_1b and 11_0_1_1b, both of them show the same problem. Could you tell me how to figure this question out? Could you briefly talk about the difference between two parameters: linear and log? Thank you very much! <br>


<br>Best,<br>Pengmin<div class="HOEnZb"><div class="h5"><br><br><br><br><br><br><br><br><br><div class="gmail_quote">2012/7/11 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear PengMin,<div><br></div><div><div>> How could I get the results with frequency in the following way: 3 6 9 12 15 18 ......45? Thanks a lots! <br><br></div>'freqs', [3 45], 'nfreqs', 14</div>
<div><br></div><div>

The second options specifies the resolution of your frequency range. In the example above, 3-45 Hz will be divided by 14, which is (45-3)/14 = 3 (assuming you use the default freqscale option). You can fine-tune the parameter by cut-and-try then if necessary.</div>


<span><font color="#888888">

<div><br></div></font></span><div><span><font color="#888888">Makoto</font></span><div><div><br><br><div class="gmail_quote">2012/7/10 PengMin Qin <span dir="ltr"><<a href="mailto:qin.pengmin@gmail.com" target="_blank">qin.pengmin@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dear all, <br><br>Thank you very much! Your talk is very useful.<br><br>I have a similar question. I make a study file, 
and  then then use the precompute channel measure to calculate the ERSP 
and ITC. In this study file including 22 participants, each participants
 have two conditions. The epoch for each condition is 1100 ms (-200 to 
900). when I calculate the ERSP and ITC, I use three kinds of parameters
 for cycles: [1 0], [1 1] and [1 0.5]; frequency [3 45], baseline [0].  
When I check the results of these three analysis, the frequency of the 
results are same: 3.00    3.93    5.15   6.76    8.86    11.61   
15.23    19.97    26.18    34.32   45.00. Is this right? How could I get
 the results with frequency in the following way: 3 6 9 12 15 18 
......45? Thanks a lots!<br>
<br>Best,<br>Pengmin<div><div><br><br><br><div class="gmail_quote">2012/7/10 Makoto Miyakoshi <span dir="ltr"><<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Mengyan,<div><br></div><div>If you want to have 3 Hz to 30 Hz range after wavelet transform, the problem is that you have only -200 to 800 ms so that it is extremely difficult to have 3 Hz.</div><div><br></div><div>




If you use 3 cycles at 3 Hz, your window side is (1000ms/3Hz)*3cycles = 1000ms, meaning that 1000ms length data generates 1 datapoint after wavelet transform. So your epoch can allow to generate only 1 datapoint!</div>


<div><br></div><div>You can either</div><div><br></div><div>1. prepare longer epoch (from -1000 ms to 2000 ms relative to stimulus onset) and use 3 Hz 3 cycle at the lowest: then you'll have -500 to 1500 ms after wavelet transform. You lose 500 ms from both sides of your epoch, because your window side is 1000 ms. It does not matter very much if your epoch overlaps each other if it is not too much.</div>







<div><br></div><div>2. Give up the lowest frequency range of 3 Hz and use 5 Hz instead with 2 cycles (decreasing the cycle number reduces sensitivity though). Then you'll have 0 to 800 ms after wavelet transform. You lose 200 ms from both sides of your epoch since your window size is (1000ms/5Hz)*2cycles = 400ms.</div>







<div><br></div><div>You can try No.2 immediately. Use the following options to see what happens.</div><div><br></div><div>'cycles', [2 0.5], 'freqs', [5 30], 'nfreqs', 50</div><div><br></div><div>






Makoto</div>
<div><br></div><div><br></div><div><br><div class="gmail_quote">2012/7/9 诸梦妍 <span dir="ltr"><<a href="mailto:bj12116@gmail.com" target="_blank">bj12116@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div><div>

Dear eeglablist,<div><br></div><div>I'm just computing EEG data using EEGLAB. However, I met some problems about pre-computing ERSPs/ITC (channel measures) and hope someone could help me. </div><div><br></div><div>In my experiment, I had 43 subjects, 500Hz sampling rate. It was a 2 by 2 repeated measures design, and each condition had about 30 trials and the same 43 channels for each subject after rejecting. I pre-processed the raw data in Brain Vision Analyzer until I extracted epochs for each condition which was -200 to 800ms. I exported the epoched data to EEGLAB, re-saved it as .set and .fdt files for each condition each subject, and created a STUDY using those data. Then I just used the GUI and tried to pre-compute the data. </div>









<div><br></div><div>For ERP part, it worked well and got the same result with Analyzer. But for ERSPs/ITS part, it didn't. Actually, I do not quite understand the parameters of ERSPs/ITC processing, so I just used the default. However, I found that it only computed 23.4Hz to 250Hz's data, which do not include my interest Frequency(3 to 30Hz). I tried to add options in GUI like " 'cycles',[3 0.5], 'nfreqs', 100, 'freqs',[3 30] ",but it turned out as a wrong syntax.</div>









<div><br></div><div>When I used the default parameter, it showed in the MATLAB command window like this below. I was just wondering what the red sentence means ( <font color="#ff0000">1) to 4) </font>) and hope that someone could tell me what should I do if I just want it to compute 3Hz to 30Hz frequency.</div>









<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Computing Event-Related Spectral Perturbation (ERSP) and</div></div></blockquote>









<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>  Inter-Trial Phase Coherence (ITC) images based on 31 trials</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">








<div>
<div>  of 500 frames sampled at 500 Hz.</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Each trial contains samples from -200 ms before to</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div>  798 ms after the timelocking event.</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>  Image frequency direction: normal</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div><font color="#ff0000"><img style="margin:0px 0.2ex;vertical-align:middle" goomoji="B56" src="cid:B56@goomoji.gmail">1) Using 3 cycles at lowest frequency to 16 at highest.</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div><font color="#ff0000"><img style="margin:0px 0.2ex;vertical-align:middle" goomoji="B56" src="cid:B56@goomoji.gmail">2) Generating 200 time points (-129.0 to 727.0 ms)</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div>Finding closest points for time variableTime values for time/freq decomposition is not perfectly uniformly distributed</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>








<div>
<font color="#ff0000"><img style="margin:0px 0.2ex;vertical-align:middle" goomoji="B56" src="cid:B56@goomoji.gmail">3) The window size used is 71 samples (142 ms) wide.</font></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div><font color="#ff0000"><img style="margin:0px 0.2ex;vertical-align:middle" goomoji="B56" src="cid:B56@goomoji.gmail">4) Estimating 100 log-spaced frequencies from 23.4 Hz to 250.0 Hz.</font></div></div></blockquote>







<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Processing time point (of 200): 10 20 30 40 50 60 70 80 90 100 110 120</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div> 130 140 150 160 170 180 190 200</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Computing the mean baseline spectrum</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">









<div><div>Note: Add output variables to command line call in history to</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>      retrieve results and use the tftopo function to replot them</div>









</div></blockquote></blockquote><div><div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Zhu Mengyan</div><span><font color="#888888"><div><br></div><div><br></div>-- <br>Mengyan Zhu<br>Psychology department, Peking University<br>







Dormitory 2061, Building 48,No.5 Yiheyuan Road, Haidian District, Beijing 100871, China <br>

 E-mail: <a href="mailto:bj12116@gmail.com" target="_blank">bj12116@gmail.com</a><br>
</font></span></div></div>
<br></div></div>_______________________________________________<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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><span><font color="#888888"><br>
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>

-- <br>Makoto Miyakoshi<br>JSPS Postdoctral Fellow for Research Abroad<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br><br>
</font></span></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" target="_blank">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" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Makoto Miyakoshi<br>JSPS Postdoctral Fellow for Research Abroad<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br>




<br>
</div></div></div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Makoto Miyakoshi<br>JSPS Postdoctral Fellow for Research Abroad<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br>

<br>
</div>