|
|
|
@ -243,12 +243,14 @@ class SPtask(template.BaseExperiment):
@@ -243,12 +243,14 @@ class SPtask(template.BaseExperiment):
|
|
|
|
|
tempCoord = circleN |
|
|
|
|
else: |
|
|
|
|
tempCoord = circleN+1 |
|
|
|
|
|
|
|
|
|
tempStim = psychopy.visual.Circle( |
|
|
|
|
self.experiment_window, radius=self.stimulus_size/2, |
|
|
|
|
pos=[tempCoord,0], fillColor=self.saccade_dot_color, |
|
|
|
|
lineColor=self.saccade_dot_color, units='deg') |
|
|
|
|
stimList.append(tempStim) |
|
|
|
|
|
|
|
|
|
tracker.send_message('Start Stim') |
|
|
|
|
for frameN in range(int(round(stim_time*60))): |
|
|
|
|
for s in stimList: |
|
|
|
|
s.draw() |
|
|
|
@ -256,6 +258,7 @@ class SPtask(template.BaseExperiment):
@@ -256,6 +258,7 @@ class SPtask(template.BaseExperiment):
|
|
|
|
|
stim.draw() |
|
|
|
|
self.experiment_window.flip() |
|
|
|
|
#print(psychopy.tools.monitorunittools.deg2pix(stim.pos, self.experiment_monitor)) |
|
|
|
|
tracker.send_message('End Stim') |
|
|
|
|
|
|
|
|
|
def display_saccade_fixation(self, stim_time): |
|
|
|
|
"""Displays the stimuli. A helper function for self.run_saccade_trial. |
|
|
|
|