Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Create a loop for change blindness paradigm

Hi,

Im working on change blindness paradigm. I'll present orjinal image, gray blank, changed image and again gray blank. When participant realize the difference between two images, have to press spacebar and the text comes 'is there any change? Yes-No, İf yes where is the change?' I have to do this loop for 30 images. I got a code for this paradigm from this discussion https://forum.cogsci.nl/discussion/663/open-change-blindness-experiment-with-flicker-paradigm. However this is only for one loop. When i want to use this code i have to create 30 different loop however i want to create just one loop for all images. I wrote all image's names in loop component with two blocks but i dont know how should write a 'for' loop. I am not good in python and inline script. Really appreciate for any help!



Comments

  • Hi,

    Can you also share the experiment? That makes debugging easier.

    . I'll present orjinal image, gray blank, changed image and again gray blank.

    Does this has to repeat until participants press a key, or only one repetition?

    I attach an example that illustrates the general principle. The flickering should work fine. But the general structure still needs some tweaking. For example, you have to change showing text to showing images: see this part of the documentation to get help on how to do it: https://osdoc.cogsci.nl/3.3/manual/python/canvas/#function-canvas46image40fname-centertrue-xnone-ynone-scalenone-rotationnone41

    Also be careful how you want to log which variables.

    Good luck,

    Eduard

    Buy Me A Coffee

  • Hi,

    Thank you for your quick reply. I'll work out on this link.


    Thanks.

Sign In or Register to comment.