| Reference | Downloads | Github

Using the results of a staircase loop in a later routine


OS Win 10
PsychoPy version PsychoPy3 v3.0.0b10
Standard Standalone? (y/n) y
What are you trying to achieve?: I am trying to get the last value of a staircase in one routine to use in a later routine

What did you try to make it work?: I tried to use the variables $level and $thisstair in the later routine and I also tried a custom code component to save the color value (at the end of the routine) and pass it through later.

What specifically went wrong when you tried that?:
Error messages saying that those variables could not be found.


In my PsychoPy experiment, I’m trying to see what types of cues will aid in the detection of a letter stimulus flashed briefly on the screen. I first have set up a staircase loop routine in order to decrease the contrast between the stimuli and the background (to avoid ceiling effects) and then have a routine in which the stimuli are shown after different cues. I was wondering how I might feed the ending value of my staircase routine into the experimental routine.

Thank you for your time, and please let me know if any other information would be valuable.