This repo will contain a bundle of experiments created with psychopy
. Feel free to fork/modify it.
When I got started with psychopy
, it was challenging to find good examples that used only Python (and not the builder) for creating experiments with this framework.
This repo attempts to fill this gap, aimed at more advanced scientists/student who are confident at coding with Python, but would like to see some examples before reading the full documentation of psychopy
.
- Make sure that you have installed
psychopy
WARNING: Based on my experience, if you want to use
psychopy
from the command line, you have to install thepsychopy
package withpip
, regardless of the OS.
- Download the contents of this repository
- from here
- or simply clone the repository with
git
.
- Choose an experiment from the
experiments
directory (e.g.: word_recognition) and run thetrial.py
file with either:
To see sample outputs for the experiment, check the contents of the sample-data
directory next to the trial.py
file. You can find more information about the experiment in the README.md
file in the experiment's directory.
More experiments will be added in the future.
Name | Short description | More info |
---|---|---|
word-recognition | Participants must decide if the words presented to them are real or not. | link |
image-sorting | Participants are asked to diecide if the images presented depict animals or objects. | link |