This is my first time creating an experiment with PsychoPy (previous experience with E-Prime). I am attempting to create an experimental design where a different number of stimuli (playing cards) are presented on each trial. Additionally, as the number of cards for each trial change, I would like to have the relative position of the cards change as well. For example, if there are four cards presented I would like them presented in a square array, but if three cards are presented I’d like them presented in a linear array.
My problems are two-fold:
I’ve created a column on my excel file for position. However, when I run the experiment, I receive the error "ValueError: could not convert string to float: (-.25, .50). I assume my problem is that PsychoPy is not recognizing the column as a position and I’m not certain how to code my way out of that issue.
When the number of stimuli change, (e.g., from 4 to 2) a white blank spot appears on the screen in the relative position of where other stimuli would be. How can ensure that there are only the desired number of stimuli on the screen and nothing else?
I’ve attached the excel file I’m using for my conditions as well as the PsychoPy experiment I’ve build thus far. Below are the specs.
Thank you for your help!