|
@@ -2,7 +2,7 @@
|
|
|
# -*- coding: utf-8 -*-
|
|
|
"""
|
|
|
This experiment was created using PsychoPy3 Experiment Builder (v2023.2.3),
|
|
|
- on Thu Feb 1 17:11:55 2024
|
|
|
+ on Fri Feb 2 10:29:04 2024
|
|
|
If you publish work using this script the most relevant publication is:
|
|
|
|
|
|
Peirce J, Gray JR, Simpson S, MacAskill M, Höchenberger R, Sogo H, Kastman E, Lindeløv JK. (2019)
|
|
@@ -709,15 +709,13 @@ def run(expInfo, thisExp, win, inputs, globalClock=None, thisSession=None):
|
|
|
# Run 'Begin Routine' code from send_feedback
|
|
|
# state changed
|
|
|
feedback_bar_2.progress = force
|
|
|
-
|
|
|
+ feedback_time = 0
|
|
|
if decision != -1:
|
|
|
trigger.send_trigger(int(decision))
|
|
|
hand_device.move(action=fingermodel_ids_inverse[decision])
|
|
|
|
|
|
if decision == 0: # only when state changes to rest, give a freeze time
|
|
|
feedback_time = 3
|
|
|
- else:
|
|
|
- feedback_time = 0
|
|
|
|
|
|
# keep track of which components have finished
|
|
|
feedbackComponents = [feedback_bar_2]
|