Script not working properly
I am currently doing a study in OpenSesame where I am trying to show the user a sequence of trials. I realized that the time between trials is rather high for what I am trying to do with it, so I tried using a script in order to shorten that timespan. Do you guys have any idea as to why this is happening?
exp.prepstart = self.time()
import random ITI = 2000 jitter = 0 preptime = self.time() - exp.prepstart pausedur = random.randint((ITI - preptime) - jitter, (ITI - preptime) + jitter) self.sleep(pausedur)
Thanks in advance!