psychopy.org | Reference | Downloads | Github

What does “stop” frame N indicate?

Does the “stop” frame N indicate the first frame at which the stimulus is no longer present, or the last frame during stimulus presentation?

Hi @Leonine, stop type frameN indicates the frame on which stimuli drawing will stop. Note, that frameN starts from zero. So, if your trial is 10 frames long and you want to stop your stim drawing on frameN=10, the calls to draw your stimuli will occur on frames 0 - 9 (10 frames), and when frameN is 10, the call will not be made, and the stimuli will not appear on the next screen refresh.

Here are some more documents related to timing: https://www.psychopy.org/coder/codeStimuli.html#timing

1 Like

Thank you. I think it would have been clearer to name the stop frame the “last frame” of the stimulus, yes?
-Leo