<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Dear Zahra,
<div class=""><br class="">
</div>
<div class="">Again, I would like to stress that you need to read the documentation in the code, the code itself and the documentation on the website.</div>
<div class="">Also, I would like to stress that (although I am one of the usual suspects that takes the time to reply to questions on this list), I am not running the list, so everybody is explicitly invited to chime in here. This is not only a nudge to everybody
 who is reading along, but also a gentle nudge that I’d appreciate not to directly direct e-mails on this list to me in person, unless you have realistic expectations that I am really the only one who can provide an answer.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 9 Apr 2019, at 08:13, zahra ghanbari <<a href="mailto:zahraghanbari@yahoo.com" class="">zahraghanbari@yahoo.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div class="ydp7605c78fyahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class=""></div>
<div class="">Dear Jan-Mathijs;</div>
<div class=""><br class="">
</div>
<div class="">I am sorry for troubling. Is it possible to use ft_connectivityanalysis with a "data" input which is not an output of the ft_preprocessing function?</div>
<div class="">Indeed I have an EEG time series in 16 channels. Filtering and denoising has been applied on it. Would you please tell me how to use this signal?</div>
<div class="">Thanks again.</div>
<div class=""><br class="">
</div>
<div class="">Sincerely,</div>
<div class="">Zahra Ghanbari.    </div>
<div class=""><br class="">
</div>
</div>
<div id="yahoo_quoted_4892459539" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;" class="">
<div class="">On Thursday, April 4, 2019, 11:14:17 AM GMT+4:30, Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" class="">jan.schoffelen@donders.ru.nl</a>> wrote:
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div id="yiv3090359685" class="">
<div class="">Hi Zhara,
<div class="yiv3090359685"><br clear="none" class="yiv3090359685">
</div>
<div class="yiv3090359685">
<div class="">
<blockquote class="yiv3090359685" type="cite">
<div class="yiv3090359685">
<div class="yiv3090359685">
<div class="yiv3090359685yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3090359685">Hi;</div>
<div class="yiv3090359685">I have two questions: </div>
<div class="yiv3090359685">1- I am trying to use <span class="yiv3090359685">ft_connectivity_wpli to calculate wpli between EEG signals recorded in 16 channels.</span></div>
<div class="yiv3090359685">Could you please help me with the inputs (<span class="yiv3090359685">Repetitions x Channel x Channel (x Frequency) (x Time)</span>)?</div>
<div class="yiv3090359685">It there any example or description which clarifies the inputs?</div>
</div>
</div>
</div>
</blockquote>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<div class="">Please use ft_connectivityanalysis with cfg.method = ‘wpli’, and an appropriate fieldtrip-style data structure, containing fourier coefficients (i.e. output of ft_freqanalysis with cfg.output = ‘fourier’);</div>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<div class="">Otherwise, if you insist on using the lower-level function ft_connectivity_wpli, please read the documentation.</div>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<blockquote class="yiv3090359685" type="cite">
<div class="yiv3090359685">
<div class="yiv3090359685">
<div class="yiv3090359685yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3090359685">2- It there any MATLAB code available for the experiments of "<span class="yiv3090359685"></span>An improved index of phase-synchronization for electrophysiological data in the<span class="yiv3090359685">
</span>
<div class="yiv3090359685">presence of volume-conduction, noise and sample-size bias(2011)”. </div>
</div>
</div>
</div>
</div>
</blockquote>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<div class="">I don’t understand: this is the ‘wpli’ method.</div>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<div class="">Jan-Mathijs</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd11035">
<div class=""><br clear="none" class="yiv3090359685">
</div>
<div class=""><br clear="none" class="yiv3090359685">
</div>
<br clear="none" class="yiv3090359685">
</div>
<blockquote class="yiv3090359685" type="cite">
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd95508"></div>
<div class="yiv3090359685">
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd16985"></div>
<div class="yiv3090359685">
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd64563"></div>
<div class="yiv3090359685yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd32329"></div>
<div class="yiv3090359685">
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd95193"><span class="yiv3090359685"></span>
<div class="yiv3090359685"><br clear="none" class="yiv3090359685">
</div>
<div class="yiv3090359685">Thank you very much.</div>
</div>
 </div>
</div>
</div>
_______________________________________________<br clear="none" class="yiv3090359685">
fieldtrip mailing list<br clear="none" class="yiv3090359685">
<a rel="nofollow" shape="rect" class="yiv3090359685" target="_blank" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none" class="yiv3090359685">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br clear="none" class="yiv3090359685">
</div>
</blockquote>
</div>
<br clear="none" class="yiv3090359685">
</div>
<br clear="none" class="yiv3090359685">
<br clear="none" class="yiv3090359685">
<div class="yiv3090359685">
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
J.M.Schoffelen, MD PhD<br clear="none" class="yiv3090359685">
Associate PI, VIDI-fellow - PI, language in interaction<br clear="none" class="yiv3090359685">
Telephone: +31-24-3614793</div>
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
Physical location: room 00.028</div>
<div class="yiv3090359685" style="letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;">
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd04829"><br clear="none" class="yiv3090359685">
<br clear="none" class="yiv3090359685">
<br clear="none" class="yiv3090359685">
</div>
</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd98856"></div>
</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd95370"></div>
</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd63833"></div>
</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd45195"></div>
</div>
<div class="yiv3090359685yqt6153738326" id="yiv3090359685yqtfd57701"><br clear="none" class="yiv3090359685">
</div>
</div>
</div>
_______________________________________________<br clear="none" class="">
fieldtrip mailing list<br clear="none" class="">
<a shape="rect" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none" class="">
<a shape="rect" href="https://doi.org/10.1371/journal.pcbi.1002202" target="_blank" class="">https://doi.org/10.1371/journal.pcbi.1002202</a>
<div class="yqt6153738326" id="yqtfd35378"><br clear="none" class="">
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>