[FieldTrip] ft_selectdata doesn't work after using ft_regressconfound
Arjen Stolk
a.stolk8 at gmail.com
Thu Aug 3 18:53:28 CEST 2017
Hi Conny,
Yes, you can delete the beta field, or alternatively, call
ft_regressconfound with cfg.beta = 'no' (perhaps this should be the
default).
Didn't know there was a debug team..
Best,
Arjen
On Thu, Aug 3, 2017 at 9:46 AM, Conny Quaedflieg <
cornelia.quaedflieg at uni-hamburg.de> wrote:
> 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,
>
>
>
>
>
> [image: Unbenannt-1]
>
> *E-Mail*: cornelia.quaedflieg at uni-hamburg.de
>
> *Tel.*: +49 40 42838-5448 <+49%2040%2042838-5448> *Website*: Hyperlink
> <https://www.psy.uni-hamburg.de/arbeitsbereiche/kognitionspsychologie/personen/quaedflieg-conny.html>
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170803/69feac97/attachment-0002.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/69feac97/attachment-0002.jpg>
More information about the fieldtrip
mailing list