[open] Flickering stimulus generation (custom shape with checkerboard fill at a certain freq)
I would like to generate images with a flickering on-off rate of 8Hz. What would be the best way to go about doing this? The shapes are not the standard masks although the pattern fill would be checkerboard. Is there a way to verify that the flicker rate on my system was close to 8Hz?
I just came across Opensesame with the psychopy backend but am unsure the best way to proceed or if I can access pre-built checkerboards and then just use an alpha mask of the shape to generate my desired stimulus
-sb
Comments
If you use a back-end that uses a blocking flip (see Timing documentation), the timestamps that you get for your display presentation are fairly accurate. Below you see an example script that shows how you can determine the flicker rate of two alternating stimuli using the PsychoPy back-end. However, to be absolutely sure of your timing you will need to benchmark your system with a photodiode.
Example script:
That depends on your specific stimuli, of course. But if you want familiarize with the use of masks and textures in PsychoPy, you may want to take a look at this tutorial:
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!