<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div class="ydpe987f733yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;"><div></div>
        <div>I appreciate your time and answer. <br></div><div>I tried e-mail due to the fact that I could not find the answer in the documentations.</div><div>Thanks and sorry for troubling. </div><div><br></div>
        
        </div><div id="yahoo_quoted_5590942571" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Tuesday, April 9, 2019, 11:36:13 AM GMT+4:30, Schoffelen, J.M. (Jan Mathijs) <jan.schoffelen@donders.ru.nl> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv3098632331"><div>
Dear Zahra,
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">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="yiv3098632331">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="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">Best wishes,</div>
<div class="yiv3098632331">Jan-Mathijs</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
<div>
<blockquote class="yiv3098632331" type="cite">
<div class="yiv3098632331yqt5561560836" id="yiv3098632331yqt64662"><div class="yiv3098632331">On 9 Apr 2019, at 08:13, zahra ghanbari <<a rel="nofollow" shape="rect" class="yiv3098632331" ymailto="mailto:zahraghanbari@yahoo.com" target="_blank" href="mailto:zahraghanbari@yahoo.com">zahraghanbari@yahoo.com</a>> wrote:</div>
<br clear="none" class="yiv3098632331Apple-interchange-newline">
<div class="yiv3098632331">
<div class="yiv3098632331">
<div class="yiv3098632331ydp7605c78fyahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3098632331"></div>
<div class="yiv3098632331">Dear Jan-Mathijs;</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">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="yiv3098632331">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="yiv3098632331">Thanks again.</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">Sincerely,</div>
<div class="yiv3098632331">Zahra Ghanbari.    </div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
</div>
<div class="yiv3098632331yahoo_quoted" id="yiv3098632331yahoo_quoted_4892459539">
<div class="yiv3098632331" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div class="yiv3098632331">On Thursday, April 4, 2019, 11:14:17 AM GMT+4:30, Schoffelen, J.M. (Jan Mathijs) <<a rel="nofollow" shape="rect" class="yiv3098632331" ymailto="mailto:jan.schoffelen@donders.ru.nl" target="_blank" href="mailto:jan.schoffelen@donders.ru.nl">jan.schoffelen@donders.ru.nl</a>> wrote:
</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">
<div class="yiv3098632331" id="yiv3098632331">
<div class="yiv3098632331">Hi Zhara,
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">
<div class="yiv3098632331">
<blockquote class="yiv3098632331" type="cite">
<div class="yiv3098632331">
<div class="yiv3098632331">
<div class="yiv3098632331yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3098632331">Hi;</div>
<div class="yiv3098632331">I have two questions: </div>
<div class="yiv3098632331">1- I am trying to use <span class="yiv3098632331">ft_connectivity_wpli to calculate wpli between EEG signals recorded in 16 channels.</span></div>
<div class="yiv3098632331">Could you please help me with the inputs (<span class="yiv3098632331">Repetitions x Channel x Channel (x Frequency) (x Time)</span>)?</div>
<div class="yiv3098632331">It there any example or description which clarifies the inputs?</div>
</div>
</div>
</div>
</blockquote>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">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="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">Otherwise, if you insist on using the lower-level function ft_connectivity_wpli, please read the documentation.</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<blockquote class="yiv3098632331" type="cite">
<div class="yiv3098632331">
<div class="yiv3098632331">
<div class="yiv3098632331yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3098632331">2- It there any MATLAB code available for the experiments of "<span class="yiv3098632331"></span>An improved index of phase-synchronization for electrophysiological data in the<span class="yiv3098632331">
</span>
<div class="yiv3098632331">presence of volume-conduction, noise and sample-size bias(2011)”. </div>
</div>
</div>
</div>
</div>
</blockquote>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">I don’t understand: this is the ‘wpli’ method.</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">Jan-Mathijs</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd11035">
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<br clear="none" class="yiv3098632331">
</div>
<blockquote class="yiv3098632331" type="cite">
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd95508"></div>
<div class="yiv3098632331">
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd16985"></div>
<div class="yiv3098632331">
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd64563"></div>
<div class="yiv3098632331yahoo-style-wrap" style="font-family:garamond, new york, times, serif;font-size:13px;">
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd32329"></div>
<div class="yiv3098632331">
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd95193"><span class="yiv3098632331"></span>
<div class="yiv3098632331"><br clear="none" class="yiv3098632331">
</div>
<div class="yiv3098632331">Thank you very much.</div>
</div>
 </div>
</div>
</div>
_______________________________________________<br clear="none" class="yiv3098632331">
fieldtrip mailing list<br clear="none" class="yiv3098632331">
<a rel="nofollow" shape="rect" class="yiv3098632331" target="_blank" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none" class="yiv3098632331">
<a rel="nofollow" shape="rect" class="yiv3098632331" target="_blank" href="https://doi.org/10.1371/journal.pcbi.1002202">https://doi.org/10.1371/journal.pcbi.1002202</a><br clear="none" class="yiv3098632331">
</div>
</blockquote>
</div>
<br clear="none" class="yiv3098632331">
</div>
<br clear="none" class="yiv3098632331">
<br clear="none" class="yiv3098632331">
<div class="yiv3098632331">
<div class="yiv3098632331" style="letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div class="yiv3098632331" style="letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div class="yiv3098632331" style="letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;">
<div class="yiv3098632331" 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="yiv3098632331">
Associate PI, VIDI-fellow - PI, language in interaction<br clear="none" class="yiv3098632331">
Telephone: +31-24-3614793</div>
<div class="yiv3098632331" 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="yiv3098632331" 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="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd04829"><br clear="none" class="yiv3098632331">
<br clear="none" class="yiv3098632331">
<br clear="none" class="yiv3098632331">
</div>
</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd98856"></div>
</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd95370"></div>
</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd63833"></div>
</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd45195"></div>
</div>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd57701"><br clear="none" class="yiv3098632331">
</div>
</div>
</div>
_______________________________________________<br clear="none" class="yiv3098632331">
fieldtrip mailing list<br clear="none" class="yiv3098632331">
<a rel="nofollow" shape="rect" class="yiv3098632331" target="_blank" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none" class="yiv3098632331">
<a rel="nofollow" shape="rect" class="yiv3098632331" target="_blank" href="https://doi.org/10.1371/journal.pcbi.1002202">https://doi.org/10.1371/journal.pcbi.1002202</a>
<div class="yiv3098632331yqt6153738326" id="yiv3098632331yqtfd35378"><br clear="none" class="yiv3098632331">
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br clear="none" class="yiv3098632331">
fieldtrip mailing list<br clear="none" class="yiv3098632331">
<a rel="nofollow" shape="rect" class="yiv3098632331" target="_blank" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none" class="yiv3098632331">
https://doi.org/10.1371/journal.pcbi.1002202<br clear="none" class="yiv3098632331">
</div></div>
</blockquote>
</div>
<br clear="none" class="yiv3098632331">
</div>
</div></div><div class="yqt5561560836" id="yqt85542">_______________________________________________<br clear="none">fieldtrip mailing list<br clear="none"><a shape="rect" href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br clear="none"><a shape="rect" href="https://doi.org/10.1371/journal.pcbi.1002202" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br clear="none"></div></div>
            </div>
        </div></body></html>