psychopy.org | Reference | Downloads | Github

Randomization of Conditioned Image Blocks

Hi psychopy community,

I am an incredibly desperate undergrad with very little coding knowledge trying to code a fmri project for my introduction to brain imaging. If anyone can explain how to fix my group’s problems, I would greatly appreciate it!

PsychoPy version 1.85.6

What are you trying to achieve?:
We have a total of 3 conditions (food, nonfood, landscape). For each of the conditions, we have 36 images. We have divided the 36 images into 3 blocks, 12 images in each block. We’re trying to figure out a way to present the 12 image block so that each image is shown for half a second with a one second gap in between each image. On top of that, we want to randomize the order that these blocks are presented in. We have 3 food blocks, 3 nonfood blocks, and 3 landscape blocks.

What did you try to make it work?:
We’re unable to code what has been previously discussed in other posts because frankly they are not meant for newbee coders. We’ve found somewhat of a solution by making the 9 individual blocks and breaks ourselves in builder. It gets the job done but we think it is affecting our log file outputs (almost 1,000 pages long in word).

Our teacher is also confused so if someone could provide some insight into what we are doing wrong and what needs to be fixed, we would be beyond happy. I’m sorry for how colloquial this all is.

THANK YOU!
A very sad student

1 Like

Have you read through this page yet?

http://www.psychopy.org/builder/blocksCounterbalance.html

I think it will tell you exactly what you need to do. It helped me out quite a bit!

1 Like