<div dir="ltr">Hi Julian,<div><br></div><div style>Your first description is the what it reflects. If you have a cfg.toi = 0.15, the window will be centered at 0.15, going from 0 to 0.3. </div><div style>If it helps, you can think of cfg.toi purely as a selection. The fourier decomposition//wavelet convolution will be calculated for all samples in each trial (with the window centered on each sample), the only thing cfg.toi does is select which of those to keep as output. Cfg.toi will never affect computation, only post-computation selection. To be more precise, in mtmconvol you are doing a wavelet convolution in the time-domain by multiplication in the frequency-domain. Timeoi and timeboi are used to select those bits of the resulting complex time-series (and they reflect cfg.toi).</div>

<div style><br></div><div style>All the best,</div><div style>Roemer</div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 19, 2012 at 12:30 PM, Julian Keil <span dir="ltr"><<a href="mailto:julian.keil@gmail.com" target="_blank">julian.keil@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 style="word-wrap:break-word">Dear all,<div><br></div><div>I have a rather specific question on the representation of the time window in the mtmconvol freqanalysis.</div>

<div>In the help-file, it says that cfg.toi is the time vector, on which the analysis window should be centered, however as far as I can see in the code for the ft_specest_mtmconvol, the time of interest (timeoi), the time-bin of interest (timeboi) as well as the requested time bin (reqtimeboi) (ft_specest_mtmconvol, fieldtrip-20120815, line 280 ff) seem to suggest that the time I set in cfg.toi are actually the starting time for the spectrum estimation.</div>

<div><br></div><div>In other words, if I'm looking to the 10 Hz signal and I set the cfg.toi=0.15 and cfg.t_ftimwin=0.3 in order to get 3 cycles of the 10 Hz oscillation, will the spectrum be estimated for the interval of 0ms to 300ms or for the interval of 150ms to 450ms?</div>

<div><br></div><div>Thanks a lot!</div><div><br></div><div>Julian</div><br><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>

<div style="word-wrap:break-word;font-size:12px">********************</div><div style="word-wrap:break-word"><b>Dr. Julian Keil</b></div><div style="word-wrap:break-word"><b><br></b></div>AG Multisensorische Integration<br>

Psychiatrische Universitätsklinik<br>der Charité im St. Hedwig-Krankenhaus<br>Große Hamburger Straße 5-11, Raum E 307<br>10115 Berlin</div><div><br>Telefon: <a href="tel:%2B49-30-2311-1879" value="+493023111879" target="_blank">+49-30-2311-1879</a><br>

Fax:        <a href="tel:%2B49-30-2311-2209" value="+493023112209" target="_blank">+49-30-2311-2209</a> </div><div><a href="http://psy-ccm.charite.de/forschung/bildgebung/ag_multisensorische_integration" target="_blank">http://psy-ccm.charite.de/forschung/bildgebung/ag_multisensorische_integration</a></div>

</span>
</div>
<br></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div><br clear="all"><div><br></div>-- <br><font size="3"><font color="darkblue"><font face="calibri">Roemer
            van der Meij M.Sc.<br>
            PhD Candidate<br>
            Donders Institute for Brain, Cognition and Behaviour<br>
            Centre for Cognition<br>
            P.O. Box 9104<br>
            6500 HE Nijmegen<br>
            The Netherlands<br>
            Tel: +31(0)24 3655932<br>
            E-mail: <a href="mailto:r.vandermeij@donders.ru.nl" target="_blank">r.vandermeij@donders.ru.nl</a></font></font></font><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">

</div>