<div>Dear all,</div>
<div> </div>
<div>I want use ' ft_connectivityanalysis' do correlation as follow:</div>
<div>cfg = [];<br>cfg.method = 'lcmv';<br>cfg.vol = vol; </div>
<div>cfg.grid.pos = maxpos;<br>cfg.lcmv.fixedori='yes';</div>
<div>cfg.elec = data_org.hdr.elec;<br>cfg.lcmv.keepfilter = 'yes';<br>source1 = ft_sourceanalysis(cfg, timelock);</div>
<div> </div>
<div><br> cfg=[];</div>
<div>cfg.method = 'powcorr_ortho';<br>stat = ft_connectivityanalysis(cfg, source1)</div>
<div> </div>
<div> <br>ource1 = </div>
<div> time: [1x102099 double]<br> pos: [2x3 double]<br> inside: [2x1 double]<br> outside: [0x1 double]<br> method: 'average'<br> avg: [1x1 struct]<br> cfg: [1x1 struct]</div>
<div> </div>
<div>the error is that</div>
<div>??? Reference to non-existent field 'cumtapcnt'.</div>
<div>Error in ==> ft_connectivityanalysis at 734<br> optarg = {'refindx', cfg.refindx, 'tapvec', data.cumtapcnt};</div>
<div> </div>
<div>Is right using tne ''lcmv'' method When I do the 'powcorr_ortho'? If the method is ringht , the 'cumtapcnt'.what means and how do get it.[when I use the 'dics' method ,some error is that Reference to non-existent field 'mom'.]<br>
<br> How should I do?</div>
<div> </div>
<div>thanks for your attention.</div>
<div>best,</div>
<div>xiao </div>