<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi all,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am new in using fieldtrip toolbox and source level connectivity analysis. I have constructed source form MEG data (Elekta Neuromag Triux system with 306 channels) by using LCMV beamformer technique (method = 'rawtrials'; to construct source level momentums
for each individual trial).</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Now when I try to compute brain connectivity using 'ft_connectivityanalysis' using method as 'coh' and complex as 'imag', I am getting the following error,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><img style="max-width: 863px;" size="34987" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:b26196d6-ba93-41a7-901d-32c9ee125b16"></span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">please not I have 300 trials and the signal length is 401. And I have 67 sources.</span></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><img style="max-width: 863px;" size="32759" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:03267fb0-0313-400d-9b99-6dbcc4318db3"> <img id="image_0" width="342" height="267" style="width: 342px; height: 267px;" size="212000" contenttype="image/png" data-outlook-trace="F:1|T:1" src="cid:f487710a-ad5f-4c19-bd6e-1d447e6cea44"></span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">In the documentation of 'ft_connectivityanalysis' it has been mentions that 'coh' supports
source data and I have no idea why I am getting the error. I am using the following code snippet for connectivity,</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">cfg = [];</span></div>
<div><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">cfg.method = 'coh'; % Compute coherence</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">cfg.complex = 'imag'; % Compute imaginary part of coherence</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">coh_results = ft_connectivityanalysis(cfg, source);</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Can anyone please help me out to get it sorted?</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Thanks in advance.</span></div>
<div id="Signature">
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;"><br>
</span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;">Best Regards,</span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;">Kaniska Samanta</span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;">PhD Researcher, Intelligent Systems Research Center (ISRC)</span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;">Ulster University</span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 9pt; color: black;">Derry~Londonderry, Northern Ireland, United Kingdom</span></p>
<p style="background-color: white;"><span style="font-family: Arial, sans-serif; font-size: 12pt; color: rgb(136, 136, 136);"> </span></p>
<p style="background-color: white;"><span style="font-family: Tahoma, sans-serif; font-size: 12pt; color: rgb(136, 136, 136);"><img data-bit="iit" width="96" height="73" style="width: 96px; height: 73px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:40e862d6-5cac-486e-b593-25f0a9bbb7f0">
<img data-bit="iit" width="96" height="53" style="width: 96px; height: 53px; margin-top: 0px; margin-bottom: 0px;" data-outlook-trace="F:1|T:1" src="cid:796d9406-87f6-4c1b-8dfd-cc1b3e4e00fb"></span></p>
<p><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> </span></p>
</div>
<font face="Calibri" size="0"><br>
<br>
This email and any attachments are confidential and intended solely for the use of the addressee and may contain information which is covered by legal, professional or other privilege. If you have received this email in error please notify the system manager
at postmaster@ulster.ac.uk and delete this email immediately. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Ulster University.
<br>
The University's computer systems may be monitored and communications carried out on them may be recorded to secure the effective operation of the system and for other lawful purposes. Ulster University does not guarantee that this email or any attachments
are free from viruses or 100% secure. Unless expressly stated in the body of a separate attachment, the text of email is not intended to form a binding contract. Correspondence to and from the University may be subject to requests for disclosure by 3rd parties
under relevant legislation. <br>
<b>The Ulster University was founded by Royal Charter in 1984 and is registered with company number RC000726 and VAT registered number GB672390524.The primary contact address for Ulster University in Northern Ireland is Cromore Road, Coleraine, Co. Londonderry
BT52 1SA</b> <br>
</font>
</body>
</html>