<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size: 12pt;" dir="ltr">
<p style="margin-top:0; margin-bottom:0">Hi Zhara</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I've done exactly this (load in pre-processed EEG data to fieldtrip and then compute wpli using ft_connectivityanalysis) very recently - the paper is published in Cortex here (<a class="OWAAutoLink" id="LPlnk592645" href="https://authors.elsevier.com/a/1Yr0M2VHXw8xq" previewremoved="true">https://authors.elsevier.com/a/1Yr0M2VHXw8xq</a>)
 and my scripts for this are available to download from OSF (there is a link in the article to download everything).</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Best</p>
<p style="margin-top:0; margin-bottom:0">Lizzie</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Ramtin Mehraram (Student) <R.Mehraram2@newcastle.ac.uk><br>
<b>Sent:</b> 09 April 2019 14:19<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Subject:</b> Re: [FieldTrip] ft_connectivityanalysis</font>
<div> </div>
</div>
<div lang="EN-GB">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Dear Zahra,</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">As long as your data has a Fieldtrip structure, the answer is yes.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">For instance, if you pre-processed your data using EEGLAB, you would need first to convert the obtained dataset in a Fieldtrip structure. Then you can run
 any analysis using Fieldtrip’s functions, such as connectivity computation.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">I hope this helps.</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Kind regards,</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Segoe UI",sans-serif; color:#44546A">Ramtin Mehraram</span></p>
</div>
<p class="x_MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri",sans-serif"> fieldtrip [mailto:fieldtrip-bounces@science.ru.nl]
<b>On Behalf Of </b>zahra ghanbari<br>
<b>Sent:</b> 09 April 2019 13:26<br>
<b>To:</b> fieldtrip@science.ru.nl<br>
<b>Subject:</b> [FieldTrip] ft_connectivityanalysis</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<div>
<div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">Dear all;</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">Is it possible to use ft_connectivityanalysis with a "data" input which is not an output of the ft_preprocessing function?</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">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?</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">Thanks.</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif"> </span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">Sincerely,</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif">Zahra Ghanbari. </span></p>
</div>
<p class="x_MsoNormal"><span style="font-size:10.0pt; font-family:"Garamond",serif"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>