
You cannot have any spaces in your column names or data in PsychoPy and it will give you a warning if you try to use a file that does. Creating ConditionsĬonditions files for PsychoPy are made using Excel so you’ll want to make a table that matches this and save it as conditions.xlsx (it must be in the. We’re going to want to make a conditions file for our loop as well. We’ll name our loop trials and set its type to be random.
#Psychopy response box trial#
Adding a LoopĪt the bottom of the window there is a Flow bar, under this we’re going to select Insert Loop and move the dot that appears after trial in the flow diagram. You can also add responses from the lab microphones or mice. We’ll also check the Force end of Routine box so that once it receives input, the program moves onto the next stimuli. We’re going to name our Keyboard response and have it start at 0.5 seconds and make the duration blank so that it will accept input infinitely. Over in the component bar we’re going to select Responses -> Keyboard to allow the subject to respond to the text. You can click the Text icon on the timeline to change its properties in the future. For now we don’t need to change anything else about our Text so hit OK and the object should appear on the experiment timeline.

We’re going to set the Name of our Text object to “target” and set the start time to 0.5 seconds and the duration of the Text to 4 seconds.
#Psychopy response box plus#
Note that you can hover over the green plus sign on each icon for a brief explanation of what it does and that you can add other stimuli such as sound or images. In our case we want to select Stimuli -> Text (the icon with two Ts) which will open a window where you can change various aspects of the text. In the right sidebar of the Builder window, you can select what components you want to add to your experiment.


When you open PsychoPy two windows will show up the Builder window and the Coder window, we will only be using the Builder window in this tutorial. It can be used to present a subject with a variety of audiovisual stimuli and record their responses to that stimuli.Ī simple experiment we can create in PsychoPy is Stroop, which is detailed in this tutorial on YouTube and written below. PyschoPy gives a graphical interface to the programming language Python in order to make it easy for people to generate their own experiments.
