Dear community,
I would like to get a suggestion from you concerning the non-slip timing issue in fMRI issues.
As you can see from the structure of my experiment I have both green and blue routines. However, also blue routines are actually defined in their timing at the beginning of the “fixation” routine. Timing is specified in the csv file with all the conditions, so it doesn’t depend on the participant or on any other feature.
Since this experiment has been developed for fMRI, I would like to know if according to you this solution here below will avoid the experiment from drifting relative to the fMRI TR.
In the “fixation” routine I have the following code:
#begin Routine
#define how long this trial will last
time_trial = 3 + Jitter_Fix + Jitter_ICI
#start the countdown according to the trial duration
timer = core.CountdownTimer(time_trial)
# specifications
# 3 = duration of word1 + word2 + press1 + press2 + press3
# Jitter_Fix and Jitter_ICI are defined in "fixation"
In all other routines, I have the following code:
#each Frame
while timer.getTime() > 0:
continueRoutine = True
while timer.getTime() <= 0:
continueRoutine = False
Do you think this could be an appropriate solution?