<div dir="ltr"><div style>Dear all</div><div style><br></div><div style>I do EEG source analyse,But I use the method as the follow got strong function connectivity from different brain areas.£¨eg.correlation£İand strength is similar;</div>
<div style>I want konw the code with source reconstruction is right? </div><div style>Or some stimulate can prove the code that is right.</div><div style>(the VOL and sourcemode form template)</div><div style><br></div>
<div style><br></div><div>cfg = [];</div><div>cfg.covariance = 'yes';</div><div>cfg.vartrllength = 2;</div><div>cfg.covariancewindow = 'all';</div><div>timelock = ft_timelockanalysis(cfg, data);</div>
<div><br></div><div><div> cfg = [];</div><div> cfg.channel = {'EEG'}; </div><div>cfg.vol = vol;</div><div> cfg.reducerank = 3; </div><div> cfg.normalize ='yes'; </div>
<div> cfg.elec = data_org.hdr.elec; </div><div>cfg.grid =sourcemodel; <br></div><div> [grid]= ft_prepare_leadfield(cfg);</div><div><br></div><div><br></div><div><div>cfg = [];</div><div>cfg.method = 'lcmv';</div>
<div>cfg.vol = vol;</div><div>cfg.grid = grid;</div><div>cfg.lcmv.fixedori = 'yes'; </div><div>cfg.elec = data.hdr.elec;</div><div>cfg.lcmv.keepfilter = 'yes';</div><div>cfg.lcmv.projectnoise = 'yes';<br>
</div><div>source1 = ft_sourceanalysis(cfg, timelock);</div></div><div><br></div></div><div style>thanks in advance</div><div style>xiao</div><div style><br></div></div>