../_images/OST600.png

Building better experiments§

1

Using Builder§

All the base knowledge we assume at the start of this workshop can be learnt from this 15 minute video

This shows you how to make the ‘posnerTargets’ demo available from previous examples

2

What makes a PsychoPy experiment?§

Open the posnerTargets.psyexp file. An experiment in Builder has:

3

The conditions file§

Open the conditions.xlsx file…

If you are going to change something on every repeat of a routine (e.g. stimulus location changes on each trial) you can use a Conditions file. This is fed into the loop surrounding the routine.

Each header is a parameter, each row corresponds to the value of that parameter on each repeat/trial.

4

Making edits§

As a basic first step let’s add some instructions. Select “insert routine” and then click on your flow to add this to the start of your experiment. Click on the routine and add:

Note

As a general styling tip, we suggest to keep the number of routines to a minimum. Got several sets of instructions? use a loop!

Let’s practice making edits to make sure we are comfortable with builder view.

5

Exercises (10 minutes)§

Running online studies

6