I implemenet this which should cover all possible scenarios and yet I am still getting loss feedback, when I haven’t clicked early and I have clicked on the white square.
if trial_type == "incentive":
if tooearly == 1 and correct == 0: #clicking too early
image_feedback = "loss.png"
this_earnings = -0.2
feedback_trigger = 5
elif tooearly == 1 and correct == 1: #clicking too early and the white square
image_feedback = "loss.png"
this_earnings = -0.2
feedback_trigger = 5
elif tooearly == 0 and correct == 0: #not clicking early but not clicking the white square
image_feedback = "loss.png"
this_earnings = -0.2
feedback_trigger = 5
else:
image_feedback = "win.png" #so the only other option would be a win if they hadn't clicked early but had clicked the white square?
this_earnings = 0.2
feedback_trigger = 4
After much wrangling with the task I have realised that the problem simply was having the code checking for a mouse press (for early click and correct) within the same code component of the Every Frame tab. I have just created another routine which acts as the onset period to the target (the duration of which is randOnset) and now both conditions are recorded correctly. And the correct outcome appears for the feedback.
I am interested in using the social incentive delay for a project. Would you be willing to share your condition stimuli files or where you obtained them from? Thanks!
Hi both, I had on idea others were still replying to this post - apologies for my lack of response! If either of you are still interested in using the monetary or social incentive delay task and I’d be very happy to share the latest version of the task.
Hi Indeed, very interesting thread. I am a PhD student and I am also trying to use this task as a localizer. Could you please share the PyshcoPy with me for it. I would really appreciate it.