thank you for the code tips. After speaking with my advisors, we have a better idea of what the three flanker blocks will look like and what the purpose is of each. The three blocks will be completed in one lab session.
Block 1: Participants will complete the standard flanker task, responding as quickly and as accurately as possible to blocks of 5 letters. The blocks are composed of “H” and “S”, and will press “z” or “slash” depending on which letter is in the middle of the block. For example, I would press “z” if the block was “SSHSS”. We want to add color to these blocks to confuse the participants, as they may think color has something to do with the correct answer. However, it will simply be a distraction. All letters will be the same color in each block. We had the idea of expanding our .excel and adding a ‘color’ column, where each stimuli block is pre-assigned a color. Our question is, how do we get psychopy to read the color column and input it into its display of our stimuli? Below is block 1 excel. It continues until row 100.
Block 2: Block 2 is the inverse of Block 1, where flanking letters dictate the correct answer. However, we will not tell the participants this change. The purpose of this block is to observe how long it takes participants to figure out the new mapping of the task. Color will still be a distraction technique. We also lengthened this excel sheet to connects each stimuli to a color.
Block 3: Block 3 is based on colors. We have decided that ‘warm’ colors (Orange, Yellow, Red) will mean correct while ‘cool’ colors (Blue, Green, Purple) will be incorrect. Letter order does not matter for this block, however we will not tell the participants this tidbit of information as we, again, will be monitoring how long it takes them to learn the new mapping (ie: warm colors are correct while cool are not). We expanded the .excel to 100 rows and added a ‘text_color’ column. Our question is how to get psychopy to read the excel file and display the color corresponding to that stimuli row. I included a screenshot of part of Block 3’s .excel to give more context.
Thank you in advance for your help. If there is more information I can provide, let me know.