<div dir="ltr">Dear Hendrik,<div><br></div><div>When you run newtimef(),</div><div><br></div><div><div>         >> [ersp,itc,powbase,times,freqs,erspboot,itcboot] = ...</div><div>                   newtimef(data, frames, epochlim, srate, cycles,...</div><div>                        'key1',value1, 'key2',value2, ... );</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">The 5th output 'freqs' is the list of center frequencies. I think it uses 'freqresol' output from dftfilt3.</div><div class="gmail_extra"><br></div><div class="gmail_extra">> The second point that I need to find out is the duration in the time domain for each wavelet. Can anybody help how I can generate that information to provide a table with the wavelet information?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">When you run newtimef() it shows the length of the sliding window. You can report the length there.</div><div class="gmail_extra"><br></div><div class="gmail_extra">In EEGLAB's newtimef, by default the number of cycles increases linearly as the central frequency increases, which may be tricky to explain. The purpose of doing this is to adjust the ratio of time/frequency resolution along with the frequency axis (if you use the fixed cycle numbers the output image looks vertically stretched i.e. too much temporal resolution with too less freq resolution at high freqs)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 31, 2015 at 5:05 PM, Hendrik Enders <span dir="ltr"><<a href="mailto:endersh@ucalgary.ca" target="_blank">endersh@ucalgary.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-CA" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have finished my time-frequency analysis of my EEG data. Some people have asked me for some very specific information regarding the wavelet properties and I am unsure how to retrieve this information. I have a sampling frequency of 500
 Hz and I used the input [3 0.5] for cycles and a pad ratio of 2.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">How can I calculate the center frequency of each individual wavelet that was generated between 3 – 50 Hz?<u></u><u></u></p>
<p class="MsoNormal">I have tried the following:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New';color:black">freqs   = [3 50];</span><span style="font-size:12pt;font-family:'Courier New'"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New';color:black">cycles = [3 0.5];</span><span style="font-size:12pt;font-family:'Courier New'"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New';color:black">srate   = 500;</span><span style="font-size:12pt;font-family:'Courier New'"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New';color:black">[wavelet,cycles,freqresol,timeresol] = dftfilt3( freqs, cycles, srate);<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10pt;font-family:'Courier New';color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none">This only returns two cells with wavelet information, time resolution and frequency resolution. How can I use the function to obtain center frequencies?<u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none">The second point that I need to find out is the duration in the time domain for each wavelet. Can anybody help how I can generate that information to provide a table with the wavelet information?<u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none">Thank you very much.<span class=""><font color="#888888"><u></u><u></u></font></span></p><span class=""><font color="#888888">
<p class="MsoNormal" style="text-autospace:none">Hendrik<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" 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></div>