[FieldTrip] ft_mergealgin: high residual variance?

Maria Hakonen maria.hakonen at gmail.com
Mon Oct 29 13:33:15 CET 2018

Dear FieldTrip experts,

I have run ft_mergealign across subjects to align the head positions.
However, the residual variance between the original and the realigned data
seems to be high:

original -> template             RV 21232.46 %
original             -> original RV 36.96 %
original -> template -> original RV 9579.95 %

Could someone please let me know what would be the largest acceptable
change in the residual variance, and what should I do if the residual
variance is too high? Does the increase in residual variance mean that
there is a large shift in the head position?

I have used ft_mergealign as follows:

template = list of subjects (i.e. I want to calculate an average head
position over the subjects)

grad = data.grad;
hs=ft_read_headshape([hdr_path nameList{subj} '/hs_file']);
vol = ft_headmodel_localspheres(hs,grad);

cfg = [];
cfg.template = template;
cfg.inwardshift = 1.0;
cfg.vol =  vol;
data_aligned = ft_megrealign(cfg, data);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20181029/4773fd41/attachment-0001.html>

More information about the fieldtrip mailing list