| Reference | Downloads | Github

Displaying two images from different sets during each trial

If this template helps then use it. If not then just delete and start from scratch.

OS: Win10
PsychoPy version: 3.0.2
Standard Standalone?: Y, I think so
What are you trying to achieve?:

Disclaimer: Super amateur level programmer. Only worked with pascal and c++ at an entry level previously so my understanding of python is extremely limited. Talk to me as if I were the village idiot.

What are you trying to achieve?: Creating an experimental setup where two randomised images from two different sets are displayed (so 1+1 for each trial) during a loop. Preferably they would randomly switch/alternate places for each trial but that is not a priority at the moment.
The purpose is to have the participant select from either one of those images.

What did you try to make it work?: First I thought it would be easy to just have 2 separate .xlsx condition files, one for each category. But I quickly realised that only one file could be loaded at the time.
So far I’ve created an array of different .xlsx with the image links in different configurations, but haven’t been able to wrap my head around it yet.

If required I can zip up the project and upload it.

Hi. Please provide more details. How many images in each set? Do they have a consistent naming scheme (if so, could likely be handled better in code than in .xlsx files).

Otherwise, for a solution that allows you to stay with a conditions file with two columns, Google for “psychopy independently shuffle columns”.

Thank you @Michael for the reply, and apologies for my late response.

The outset is a study of body self perception. There are 5 images in total in the set; 2 where the participant is portrayed as thin and malnourished (to different degrees), 1 with “normal” body proportions, and 2 where the participant is chubby and overweight.
For each trial the participant is shown 2 pictures belonging to the different categories, either big+normal, normal+small, or big+small. They are then to select one of the options.

Will look into googling your suggestion right away.