Skip to content

Commit

Permalink
Add a wait before the run officially starts (i.e. for dummy scans)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Mar 10, 2017
1 parent f673158 commit 3850480
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions visigoth/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ def run(self):

# TODO need to add scanner trigger/dummy scans

# Wait a certain amount of time before starting the run
# (e.g. for dummy fMRI scans)
# TODO add a countdown or something nice here
self.wait_until(self.check_abort,
timeout=self.p.wait_pre_run)

# Initialize the experimental run
self.clock.reset()
self.tracker.start_run()
Expand Down Expand Up @@ -799,6 +805,8 @@ def iti_end(self, iti_duration, check_abort=True):
eye_target_wait=.5,
eye_target_hold=.25,

wait_pre_run=0,

wait_iti=1,
wait_fix=5,
wait_resp=5,
Expand Down

0 comments on commit 3850480

Please sign in to comment.