[FieldTrip] ft_selectdata doesn't work after using ft_regressconfound

Conny Quaedflieg cornelia.quaedflieg at uni-hamburg.de
Thu Aug 3 18:46:47 CEST 2017


Dear Fieldtrip-users, 

 

We are not able to use function ft_selectdata after applying head movement
correction using ft_regressconfound. The error that we get is the well-known
index exceeds matrix dimensions. 

It is due to the fact that the size of x is incorrect, it doesn’t correspond
to the number of trials but is 7 which is the number of regressors in the
beta variable that is created by using ft_regressconfound. 

There is a simple way to solve it and this is deleting the field ‘beta’
before running ft_select data. 

 

My question is, just to be sure, the variance is regressed out by using
ft_regressconfound so the beta variable is not needed in any further step
right?

Maybe this is also something for the debug team? Thus that ft_selectdata
runs after running ft_regressconfound. 

 

Best 

Dr Conny Quaedflieg 

 

 

Mit freundlichen Grüßen,

 

 



E-Mail:  <mailto:cornelia.quaedflieg at uni-hamburg.de>
cornelia.quaedflieg at uni-hamburg.de 

Tel.:  <tel:+49%2040%2042838-5448> +49 40 42838-5448   Website:
<https://www.psy.uni-hamburg.de/arbeitsbereiche/kognitionspsychologie/person
en/quaedflieg-conny.html> Hyperlink

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170803/28d856e7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 5382 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170803/28d856e7/attachment-0001.jpg>


More information about the fieldtrip mailing list