<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="">
Hi Davide,
<div class=""><br class="">
</div>
<div class="">Indeed:</div>
<div class=""><br class="">
</div>
<div class="">1) The ‘dics’ method does not allow for keeping of the mom. This is because the FT implementation tries to stay close to Joachim’s original description in his 2001 PNAS paper, where all computations ‘under the hood’, and intermediate single trial
 fourier coefficients are not explicitly made available.</div>
<div class=""><br class="">
</div>
<div class="">2) If the input data does not contain the fourier coefficients, no mom can be computed. This is because the mom for a frequency domain beamformer is obtained by left multiplication of the spatial filter with the nchan x ntaper fourier matrix (for
 the frequency bin of interest).</div>
<div class=""><br class="">
</div>
<div class="">Ergo,</div>
<div class=""><br class="">
</div>
<div class="">only ‘pcc’ in combination with ‘fourier’ will return data that can be fed into ft_connectivityanalysis in the way that is currently supported. </div>
<div class=""><br class="">
</div>
<div class="">So far so good.</div>
<div class=""><br class="">
</div>
<div class="">I agree that the documentation (in the help function, as well as in the form of a FAQ or example on the website) can be improved. Also, it might be useful to implement some informed error handling.</div>
<div class=""><br class="">
</div>
<div class="">Please feel free to contribute to the project along those lines. Both code and website changes work through a pull request on github. </div>
<div class=""><br class="">
</div>
<div class="">Best wishes and keep up the good work,</div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 14 May 2019, at 15:27, Davide Sometti <<a href="mailto:davide.sometti-1@studenti.unitn.it" class="">davide.sometti-1@studenti.unitn.it</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<p class="MsoNormal" style="margin:0cm 0cm 10pt;text-align:justify;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif" class="">Dear community,</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;text-align:justify;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif" class="">I’m trying to perform connectivity analysis (<b class="">Matlab 2018b, FieldTrip 2018-12-11</b>), in order to obtain the absolute part of the imaginary coherence. Here are the steps that I’ve
 used in order to perform it.</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;text-align:justify;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">1-<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"" class="">     </span></span></b><b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">First
 I performed the frequency analysis, on the single condition (not showed), and on all the conditions together</span></b></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg = [];</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.channel    = chn;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.method     = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'mtmfft'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.output     = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'powandcsd'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.taper      = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'dpss'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.keeptrials =</span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'no'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.keeptapers =</span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'no'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.tapsmofrq  = 3;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.foi        = </span><span style="font-size: 13pt; font-family: 'Courier New';" class="">[6; 11; 16; 21; 26; 40];</span><span style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">data_freq_all  = ft_freqanalysis(cfg, data_reject_all);</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 10pt; line-height: 16.8667px; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""> </span><br class="webkit-block-placeholder">
</div>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">2-<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"" class="">    </span></span></b><b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class=""> I
 computed the beamformer filters based on the entire data</span></b></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg=[];</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.method=</span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'dics'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.frequency=6;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.grid=lf;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.grid.pos=pos;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.grid.tri=tri;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.headmodel=hdm;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.senstype     = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'meg'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.projectnoise = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.lambda       = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'5%'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.keepfilter   = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.realfilter   = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.keepcsd       = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.keepmom       = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.dics.fixedori     = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'yes'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">sourceAll = ft_sourceanalysis(cfg,data_all);</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 10pt; line-height: 16.8667px; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""> </span><br class="webkit-block-placeholder">
</div>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">3-<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"" class="">     </span></span></b><b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">I've
 then performed the source analysis on each of the four conditions, using the precomputed filter</span></b></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.grid.filter=sourceAll.avg.filter;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class=""> </span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">source_pre_incl=ft_sourceanalysis(cfg,data_pre_incl);</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">source_pre_excl=ft_sourceanalysis(cfg,data_pre_excl);</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">source_post_incl=ft_sourceanalysis(cfg,data_post_incl);</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">source_post_excl=ft_sourceanalysis(cfg,data_post_excl);</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">4-<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman"" class="">     </span></span></b><b style="font-size:11pt" class=""><span lang="EN-US" style="font-family:Arial,sans-serif" class="">Finally
 I’ve performed the connectivity analysis</span></b></div>
<p class="gmail-m_6791714058241505526gmail-MsoListParagraphCxSpMiddle" style="margin:0cm 0cm 0.0001pt 36pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" class=""> </span></p>
<p class="gmail-m_6791714058241505526gmail-MsoListParagraphCxSpLast" style="margin:0cm 0cm 0.0001pt 36pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg=[];</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.method  =</span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'coh'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">cfg.complex = </span><span lang="EN-US" style="font-size:13pt;font-family:"Courier New";color:rgb(160,32,240)" class="">'absimag'</span><span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">;</span><span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""></span></div>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class="">source_conn = ft_connectivityanalysis(cfg, source_pre_incl);</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-family: Arial, sans-serif;" class=""><b class="">When I try to run the connectivity analysis I get this error, and I cannot go further in the analysis.</b></span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size: 13pt; font-family: 'Courier New';" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class="">Reference to non-existent field 'mom'.</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class="">Error in univariate2bivariate (line 225)</span></div>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class="">      sizmom = size(data.mom{data.inside(1)});</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""> </span></p>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class="">Error in ft_connectivityanalysis (line 449)</span></div>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class="">        [data, powindx, hasrpt] = univariate2bivariate(data, 'mom', 'crsspctrm', dtype, 'cmb', cfg.refindx, 'keeprpt', 0);</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;text-align:justify;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-size:12pt;font-family:"Courier New"" class=""> </span></p>
<div style="margin: 0cm 0cm 10pt; text-align: justify; line-height: 16.8667px; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" class=""> </span><br class="webkit-block-placeholder">
</div>
<div style="margin: 0cm 0cm 0.0001pt; text-align: justify; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<span lang="EN-US" style="font-family:Arial,sans-serif" class="">I’ve tried different solution, changing output for the frequency analysis and method for the beamforming, like follow:</span></div>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif" class=""> </span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif;color:rgb(160,32,240)" class="">'fourier' - 'pcc'</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif;color:rgb(160,32,240)" class="">'powandcsd' - 'pcc'</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif;color:rgb(160,32,240)" class="">'fourier' - 'dics'</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;text-align:justify;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif" class="">The combination fourier and pcc was the only one that worked, among the 4, the others always gave me the same error, as above. I’m wondering why even if I’ve specified cfg.keepmom=’yes’, this
 one is not present in the structure after the source analysis.</span></p>
<p class="MsoNormal" style="margin:0cm 0cm 10pt;text-align:justify;line-height:16.8667px;font-size:11pt;font-family:Calibri,sans-serif">
<span lang="EN-US" style="font-family:Arial,sans-serif" class="">Anyone that could help me?</span></p>
<div class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">Davide S.</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>