[open] Breaking from a staircase loop
Hi there again,
My current goal is to implement a staircase algorithm that changes presentation time of the targets until a certain level of accuracy has been reached.
In my experimental setup, this translates to: I want to keep repeating my trial sequence with, for each cycle, settings from the variable wizard (in its block loop) until I'm happy. Then, I'd like to break from it and start my experimental loop with those settings (using the same trial sequence).
Is that possible? The loop object only gives me the possibility to set the number of repeats and the number of cycles. Also, the trial sequence doesn't have a "run if" setting.
At the moment it seems my best option would be to simply set the number of repeats very high, and give every object in the trial sequence the "run if"-condition: "(...) and [staircaseCompleted] = 0" so everything gets skipped once the procedure is completed.
However, the ideal situation would be where I could just make a call like "self.experiment.breakFromLoop(staircase_loop)", or anything like that. Would that be possible? Or does every loop item needs to be run fully everytime?