wanderine / BROCCOLI

BROCCOLI: Software for Fast fMRI Analysis on Many-Core CPUs and GPUs
GNU General Public License v3.0
113 stars 38 forks source link

Issue with dummy regressors. #31

Closed grandjeanlab closed 7 years ago

grandjeanlab commented 7 years ago

Hello. I'm trying to run first level GLM. Everything works great until I try to add dummy regressors for subjects that did not complete a task. I followed the documentation and created files with NumEvents 0 and added these to the design_file.

When I add these dummy regressors, and only when I add these, all beta's, copes, and tscores files are empty images.

I checked both original and total design matrix files and they seem fine in both cases, with or without empty regressors. Columns for empty regressors are filed with 0, as expected.

The issue seem to affect both GLM and FIRSTLEVEL analysis function. I use the linux version of the script on Ubuntu 12.04.

grandjeanlab commented 7 years ago

I use the latest broccoli version downloaded from GITHUB.

I've put a an example scan with designs with and without dummy on my dropbox to illustrate the issue

%removed dropbox link

wanderine commented 7 years ago

How many runs do the subjects have? The dummy regressors are intended to be used if you have several runs, and one or more runs do(es) not have the specific task. If the subjects only have a single run, just drop that regressor in the design file.

2017-01-04 3:30 GMT+01:00 joanesg notifications@github.com:

I use the latest broccoli version downloaded from GITHUB.

I've put a an example scan with designs with and without dummy on my dropbox to illustrate the issue https://www.dropbox.com/s/03l2x54c0842ohp/GLM_dummy_test.zip?dl=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wanderine/BROCCOLI/issues/31#issuecomment-270281031, or mute the thread https://github.com/notifications/unsubscribe-auth/AEGryHz4kH4WPnFcPoraC5NkRMv3Ishsks5rOwQ5gaJpZM4LaNl3 .

-- Anders Eklund, PhD

grandjeanlab commented 7 years ago

I have 10 runs, but I was testing the script one at a time first to make sure all running smoothly. Works alight when I run all 10 runs together. Thank you.