[FieldTrip] missing pos in beamforming
Jason Chan
chan at med.uni-frankfurt.de
Wed Mar 14 17:28:49 CET 2012
Greetings,
I am adapting the beamformer tutorial to my data. When I sourceinterpolate
the subtracted sourceA from sourceB data, the 'pos' disappears. This seems
to be important for the volume normalization and Grand Average. I am
running Fieldtrip version: 20110917. I have placed the code below.
Many thanks in advance.
Jason
Young_CombineFilter_sourceDiff_16_3={};
for i=1:length(Young_CombineFilter_beamform_16_3);
cfg=[];
Young_CombineFilter_sourceDiff_16_3{i}
=Young_CombineFilter_beamform_16_3{i}.sourceA;
Young_CombineFilter_sourceDiff_16_3{i}.avg.pow
=(Young_CombineFilter_beamform_16_3{i}.sourceA.avg.pow -
Young_CombineFilter_beamform_16_3{i}.sourceB.avg.pow)./Young_CombineFilter_b
eamform_16_3{i}.sourceB.avg.pow;
cfg = [];
cfg.downsample = 2;
cfg.parameter = 'avg.pow';
cfg.anatomy = mri{i};
cfg.keepfilter='yes';
cfg.interpmethod='linear';
Young_CombineFilter_sourceDiffInt_16_3{i}=ft_sourceinterpolate(cfg,Young_Com
bineFilter_sourceDiff_16_3{i}, mri_young{i});
end;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20120314/83742de2/attachment-0001.html>
More information about the fieldtrip
mailing list