<div dir="ltr"><div><div><div><div><div><div>Dear Maggie,<br><br></div>If I'm not mistaken, connectivity estimates can be obtained at single trial if one estimates phase correlation over time (see Cohen, 2014 Analyzing Neural Time Series).<br><br></div>If you are not interested in the time dimension you could just obtain a single value of coherence for each trial, estimating phase coherence over time, which you can then average over trials.<br></div>If you still want to maintain time dimension and get a time(x)-frequency(y) plot of coherence, than you should use a sliding window.<br><br></div>I believe this method (coherence over time) is not integrated in either Fieldtrip or EEGLAB, but it's not that difficult to implement this from the matrix with the complex fourier spectra (ft_freqanalysis with cfg.output = 'fourier').<br><br></div>Good luck,<br></div>Gabriel Costa<br><div><div><br><br><div>.</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 5:33 PM, Mengqi Xing <span dir="ltr"><<a href="mailto:xmq1990@gmail.com" target="_blank">xmq1990@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>
<div dir="ltr">Dear all,
<div><br>
</div>
<div>I'm using fieldtrip to do dynamic EEG connectivity analyses and I have a few questions about trial averaging in ft_connectivityanalysis. I realized regardless which method I'm using, the ft_connectivityanalysis tends to averaging over trials (dimension
 rpt), which sacrifices the dynamic of  the data. Is it possible not let the function averaging over trials while still getting a meaningful result? ( I tried to duplicate trial and let it average itself and it reported some errors.)  Or is there a connectivity
 method that allows non-trial-averaging to run?  Thank you very much! </div>
<div><br>
</div>
<div>Maggie Xing </div>
<div><br>
</div>
</div>
</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" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>