<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Karl,<div><br></div><div>Perhaps I can add one or two things to Lilla's reply. If I understand your question correctly, it pertains specifically to the math behind the amplitude correlation computation, and how this is done in ft_connectivity_corr. It is indeed as you thought, the dimension over which the correlation is computed is indeed the trial dimension. That is, for each channelpair-time-frequency-point the amplitude correlation is computed across trials. A lot of the intelligence already takes place in ft_connectivityanalysis. In your case ft_connectivityanalysis computes the covariance (and variance) across trials between the amplitudes. The only thing that happens in ft_connectivity_corr is the normalisation with the square root of the variance product.</div><div><br></div><div>Hope this helps,</div><div><br></div><div>Jan-Mathijs</div><div><br><div><div>On Aug 27, 2012, at 4:16 PM, Karl Doron wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Lilla,<br><br>There is a reference for Rosenberg et al, 1998 for the partialization method in the code itself but I'm not seeing any in the help section. <br><br>Thanks,<br>karl<br><br><br>On Aug 27, 2012, at 2:59 AM, "Magyari, Lilla" <<a href="mailto:Lilla.Magyari@mpi.nl">Lilla.Magyari@mpi.nl</a>> wrote:<br><br><blockquote type="cite">Dear Karl,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">There are four papers mentioned in the help of ft_connectivity_corr. I am wondering if any of those could answer your question.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best,<br></blockquote><blockquote type="cite">Lilla<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Karl Doron wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hello,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm wondering if there are any publications with the maths behind the functions for ft_connectivity_corr. I would specifically like to confirm (for a pending publication) how the amplitude correlation is computed when the function is given output from ft_freqanalysis which contains a time dimension (relevant cfg parameters pasted below). I've assumed this is occurring in the frequency domain across trials for sensor i and sensor j.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.channelcmb = chancmb;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.method = 'mtmconvol';<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.output = 'fourier';<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.keeptrials = 'yes';<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.foi = band(1):band(2);<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cfg.toi = 1.8:0.01:3.0;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for any feedback!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Karl Doron, Ph.D.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">UC, Santa Barbara<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">------------------------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">fieldtrip mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">fieldtrip mailing list<br></blockquote><blockquote type="cite"><a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br></blockquote><blockquote type="cite"><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote><br><br>_______________________________________________<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<br></div></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-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></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></body></html>