<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Beom Jun Min,<div><br><div><div><blockquote type="cite"><div dir="ltr"><div>I am confused with the 'cfg.method' for ITC.</div></div></blockquote><div><br></div><div>There is currently no cfg.method that gives you ITC directly, indeed you should use the formula below, which is correct if you have a single taper per trial (which you have if you use cfg.taper = 'hanning' in ft_freqanalysis).</div><br><blockquote type="cite"><div dir="ltr"><div>After examining the previous discussion list, I found method for ITC calculation as below. </div>
<div><br></div><div><div><i>tmpdat = freq.fourierspctrm;</i></div><div><i>tmpdat = tmpdat./abs(tmpdat); % this will normalise each trial for its amplitude;</i></div><div><i>itc = abs(mean(tmpdat)); % this will give the itc</i></div>
</div><div><br></div><div>In addition, for this method, the ft_freqanalysis should have configuration as below. </div><div><br></div><div><div><i>cfg = [];</i></div><div><i>cfg.keeptrials = 'yes';</i></div><div><i>cfg.keeptapers = 'yes';</i></div>
<div><i>cfg.output     = 'fourier';</i></div><div><i>cfg.channel    = 'all';</i></div><div><i>cfg.method     = 'mtmfft';</i></div><div><i>cfg.foi        = 20:1:60;</i></div><div><i>cfg.toi = -0.5:0.01:1.5;</i></div>
<div><i>cfg.tapsmofrq = 4;</i></div><div><i>cfg.taper = 'hanning';</i></div><div><br></div><div>However, I use 'wavelet' for the calculation of gamma band now. </div></div><div><br></div><div>Should I use 'mtmfft' for the calucation of ITC?</div>
<div><br></div><div>In case of 'wavelet', the result of itc has 4-D data - trial (averaged) * channel * freq * time</div><div>Meanwhile, in case of 'mtmfft' the result has 3D data - trial (averaged) * channel * freq without time. </div>
<div>Which structure is right? </div></div></blockquote><div><br></div><div>The distinction between 'mtmfft' and 'wavelet'/'mtmconvol' is exactly whether time is taken into account. The functionality that you want to use, depends on your question.</div><br><blockquote type="cite"><div dir="ltr"><div>And, if I want to calculate the mean value of ITC of a group, </div><div>is the order of the processing below right? :</div><div>preprocessed data of each individual -> time-frequency analysis -> calculate ITC -> grandaverage </div></div></blockquote><div><br></div><div>The order is correct.</div><div><br></div><div>Best wishes,</div><div>Jan-Mathijs</div><div><br></div><br><blockquote type="cite"><div dir="ltr">
<div><br></div><div>With regards.</div><div><br></div><div><br></div>-- <br><div dir="ltr"><div><font face="arial, helvetica, sans-serif">BeomJun Min, M.D.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="color:rgb(51,51,51);line-height:18px">Department of Medical System Engineering (DMSE)<br></span><span style="color:rgb(51,51,51);line-height:18px">Gwangju Institute of Science and Technology (GIST)</span><span style="color:rgb(51,51,51);line-height:18px"> </span><span style="color:rgb(51,51,51);line-height:18px"><br>
261 Cheomdan-gwagiro(Oryong-dong), Buk-gu, Gwangju <br>500-712, Republic of Korea (South) <br>Phone: +82-62-715-3266 / Fax: +82-62-715-3244 <br>E-mail: </span><a href="mailto:mbj0310@gmail.com" style="text-decoration:none;line-height:18px" target="_blank"><span>mbj0310@gmail.com</span></a><span style="color:rgb(51,51,51);line-height:18px">, <a href="http://bmssa.gist.ac.kr/" style="text-decoration:none" target="_blank">http://bmssa.gist.ac.kr</a></span></font><br>
</div></div>
</div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jan-Mathijs Schoffelen, MD PhD </div><div><br></div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><br></div><div>Max Planck Institute for Psycholinguistics,</div><div>Nijmegen, The Netherlands</div><div><br></div><div><a href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: +31-24-3614793</div><div><br></div><div><a href="http://www.hettaligebrein.nl">http://www.hettaligebrein.nl</a></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></div></body></html>