Using interleaved staircase feature for adaptive response deadline?

OS: macOS 13.0 Ventura
PsychoPy version: 2024.2.5 compatibility+ (py 3.8)
Standard Standalone Installation? yes
Do you want it to also run online? no

Hi all, I am trying to create a PsychoPy task with an adaptive response time paradigm. I am very new to the backend of PsychoPy, but I have successfully created my desired task with a static response time of 1.5 ms per trial. I believe I will need to use the interleaved staircases function in order to make the response times adaptive. I have searched this forum and the internet extensively, but most of the information I have been able to find is highly specific to the adaptive orientation of a visual grating stimulus.

These are the parameters I am hoping to recreate:

  • Initial response deadline: 1500 milliseconds.
  • Some trials will consist of congruent stimuli, and others will consist of incongruent stimuli. The response deadline should adapt ONLY to incongruent trials.
  • A 3:1 up-to-down ratio should be used, i.e. the time increase following a incorrect trial should be 3x larger than the time decrease following a correct trial.
  • For the initial 16 incongruent trials, the step up should be 240 ms and step down should be 80 ms.
  • For trials 17-32, the step up should be 120 ms and step down should be 40 ms.
  • For trials 33-48, the step up should be 60 ms and step down should be 20 ms.
  • For trials 49-64, the step up should be 30 ms and step down should be 10 ms.
  • For trials 65-80, the step up should be 15 ms and step sown should be 15 ms.
  • For trials 81-96, the step up should be 9 ms and step down should be 3 ms.

Any pointers would be helpful!