[FieldTrip] EEG source reconstruction
陈雪
mengtongxiao at gmail.com
Mon Jul 29 04:44:49 CEST 2013
Dear all
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;
I want konw the code with source reconstruction is right?
Or some stimulate can prove the code that is right.
(the VOL and sourcemode form template)
cfg = [];
cfg.covariance = 'yes';
cfg.vartrllength = 2;
cfg.covariancewindow = 'all';
timelock = ft_timelockanalysis(cfg, data);
cfg = [];
cfg.channel = {'EEG'};
cfg.vol = vol;
cfg.reducerank = 3;
cfg.normalize ='yes';
cfg.elec = data_org.hdr.elec;
cfg.grid =sourcemodel;
[grid]= ft_prepare_leadfield(cfg);
cfg = [];
cfg.method = 'lcmv';
cfg.vol = vol;
cfg.grid = grid;
cfg.lcmv.fixedori = 'yes';
cfg.elec = data.hdr.elec;
cfg.lcmv.keepfilter = 'yes';
cfg.lcmv.projectnoise = 'yes';
source1 = ft_sourceanalysis(cfg, timelock);
thanks in advance
xiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130729/1662d959/attachment.html>
More information about the fieldtrip
mailing list