Closed gjheij closed 2 years ago
Fixed in here:
DummyWaiterTrial
now has 1 phase consisting of the waiting period until the trigger arrives (instead of 2, where the second phase consisted of the 30s baseline). The task lives in the pRFTrial
-object, so the baseline of 30s is turned into baseline duration (30s) / stimulus duration (0.25s) = 120
trials. These are appended to the trial list without stimulus, but with task.
Also added a cmd-line option to save screenshots offline (so either before or after the experiment, on the stimulus computer at the scanner so that dimensions are correct) for the design matrix: All subjects will have a different design matrix due to the position and size of the target pRF, as well as the aperture as this is a factor of the target pRF-size.
The fixation task now starts after the
DummyWaiterTrial
ofstart_duration
-length (=30s). It's suboptimal that the task starts when the bars start too.