timing issue using psychopy backend
I programming a statistical learning experiment where I present apparent random shapes, with a hidden regular structure. While I tried out the experiment myself, it seemed that every once and a while a stimulus (or the blank display in between stimuli) was on screen longer than the others. This was confirmed when I logged the timings each time a new screen was shown. The snippet of code that I use for this part of the experiment is shown below:
If I take the timing difference between consecutive windows I consistently get outputs like shown below. While the majority of ISI is 200 ms (as expected) each sequence contains a significant number of outliers up to 500 ms. Is there something wrong in this code that can explain this?
Thanks in advance for the help