I am building an experiment with the psychopy builder and I want to do an "evaluative conditioning" experiment. That is: first, different stimuli are rated according to their valence. Later, neutral stimuli will be paired with negative or positive stimuli. Here is the structure, I have done so far: Experiment structure
Specifically, in a first step, participants rate different items (pictures, shapes, ciphers). So far, no problem. The next trials, the problem starts. Trial structure in the builder
In a next routine, the pictures should be arranged according to their rating. That is positive, neutral, negative pictures (1-3 = negative, 4-6 = neutral, 7-9 = positive). They are called UCStim. First, I need, to know, if at least 5 pictures in the rating routine were rated < 3. If yes, the experiment can continue. If not, it has to be stopped. Second step: select the 5 most negatively rated pictures. (But what, if 8 were rated with 1? Then a random selection of the images rated with 1 should take place). Then select 5 pictures with values between 4 and 6 (neutral pictures). Third step: combine the shapes (NeutralStim) with neutral Pictures and the ciphers (also NeutralStim) with negative pictures. The definition of shape vs. cipher is done in the excel-file of the loop (called condLoop.xlsx, column is called "kind"). The shapes should now be presented before negatively rated pictures and the ciphers before positively rated pictures.
My first problem is: how to I get the rated values? Do I have to import the csv-file? Or can I directly import them (the responses of the ratings are called rating.response_raw in the data file.