31 Lab 6 exercises
31.1 Main exercise
In this exercise, you will modify a choice reaction time task.
Once downloaded, unzip the file and open the experiment using PsychoPy and the input file using Excel.
Exercise 1: Use an Image component
Remove the Text component in the routine trial
and use an Image component instead. Use two different images in your experiment (replacing the previous stimuli “&” and “%” in the experiment you downloaded; you can use the two images from Lab 5 if you would like to). On each trial, one of the images should be presented.
Also, change the response keys to use the arrow keys on the keyboard.
Make sure to adapt the input file and the task instructions accordingly.
Exercise 2: Use a Polygon component
After having saved your previous exercise, make a copy for this exercise. Then, remove the Image component in the routine trial
and use a Polygon component (located in Stimuli components) instead. Change the colour of the Polygon component from trial to trial.
Make sure to adapt the input file and the task instructions accordingly.
31.2 Challenge exercise
The 2-letter version of the letter flanker task has a potential confound: congruent stimuli always consist of exactly the same letters, whereas incongruent stimuli consist of different letters. Maybe the interference effect is due to the fact that the row of identical letters in congruent trials speeds up letter recognition, and not the fact that in incongruent trials flanker and target map onto different responses?
Investigate this question by creating a 4-letter version of the flanker task as a 4-letter version allows for congruent trials where flankers and target differ.
The four letters in your task and the correct responses are:
- B and G: left arrow key
- D and Q: right arrow key
For the purpose of defining correct responses in an input file, the names for the arrow keys are left
and right
.
Please create an experiment that fulfils the following criteria:
- Congruent and incongruent trials should be equally frequent.
- Congruent trials should not include strings of identical letters (e.g.,
BBBBB
). - There should be 64 trials overall.
- The input file should be repeated 4 times.
- The letter presentation should begin 0.5 seconds after the start of the trial.
- The presentation of the letters should end when a response key is pressed.
- Trials should be presented in random order.
- PsychoPy should write accuracy information to the output file.
- Trial-wise congruency should also be coded in the output file.
Your stimuli should be:
- 150 pixels high
- White on black background
- Presented in the centre of the screen
You can watch a video of the solution here: