<div dir="ltr">Dear Xiao,<div><br></div><div>The code doesn't look wrong at first glance. However, with beamforming, the pre-processing of the 'data' is just as important of a step, so be sure you are using the optimal time windows for your research question, and optimal frequency filtering, if desired, etc. </div>
<div><br></div><div>Also, check that the units of data.hdr.elec is the same as the vol and sourcemodel. Also, is there a reason you use data_org.hdr.elec in one instance, and the data.hdr.elec in another instance?</div>
<div><br></div><div>Best,</div><div>Johanna</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/29 陈雪 <span dir="ltr"><<a href="mailto:mengtongxiao@gmail.com" target="_blank">mengtongxiao@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear all</div><div><br></div><div>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>I want konw the code with source reconstruction is right? </div><div>Or some stimulate can prove the code that is right.</div><div>(the VOL and sourcemode form template)</div><div><br></div>
<div><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>thanks in advance</div><div>xiao</div><div><br></div></div>
<br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div></div>