[FieldTrip] Extracting virtual EEG channel from a patch

Babaeeghazvini, P. p.babaeeghazvini at vu.nl
Fri Dec 4 20:14:26 CET 2015


Hello

I want to reconstruct a source signal the same as below in page  http://www.fieldtriptoolbox.org/tutorial/shared/virtual_sensors

cfg              = [];
cfg.method       = 'lcmv';
cfg.vol          = hdm;
cfg.grid.pos     = sourcemodel.pos([maxcohindx maxpowindx], :);
cfg.grid.inside  = 1:size(cfg.grid.pos, 1);
cfg.grid.outside = [];
cfg.keepfilter   = 'yes';
source_idx       = ft_sourceanalysis(cfg, tlock);

Not from the voxel indicating maximum power ([maxval, maxpowindx] = max(source_diff.avg.pow);), but from the atlas area which this voxel belongs to, such as Supp_Motor_Area_L. So my question is: How I can get the atlas range and atlas label belong to a voxel, and how I can use this atlas area range in this code to reconstruct a signal instead of using (cfg.grid.pos = sourcemodel.pos([maxcohindx maxpowindx], :)).

Regards,
Parinaz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20151204/5d8fba06/attachment-0001.html>


More information about the fieldtrip mailing list