I have two similar loops. Each loop is associated with different rows in the same CSV file. In the data file, I have different columns for the RT data of each loop. How can I combine the data into a single column?
You have two options within PsychoPy that can help.
-
Reuse the same routine in both loops so it has the same keyboard component.
-
Save the data you want into custom variables using thisExp.addData(‘Score’, key_resp.corr) etc. I use this method for experiments where participants can either use keyboard or touchscreen/mouse.