-
Notifications
You must be signed in to change notification settings - Fork 0
installation
- Windows OS
- Joystick
-
Download repo
You can also run git clone:
$ git clone https://github.com/laureate-institute-for-brain-research/Approach-Avoidance-Task.git
-
Download PsychoPy3
-
Once PsychoPy3 installed Open psychopy under Runner View
-
In Runner View, click the green '+' button and add the StimTool.py file.
-
Plug in Joystick
-
Highlight the StimTool.py file and press the green running man to run the script.
-
A dialogue will pop up where you can enter the subject id and administrator id:
Subject ID, can be anything e.g.
SUBJECT1
Administrator ID, can be anything. we usually just use first and last initials. e.g.
JT
-
Select AACOnly_PracticeSession_T1.TL to run the practice session in experiment order
You must run practice before running the scan session.
-
The task should start and the output files will be under
C:/StimToolData/
.Output location can be changed under .PARAMS files for each session. (.TL)
This task uses IAPS images in .gif format. To use the actual IAPS, copy the files in the the ApproachAvoidanceConflict/media/images/
directory.
The directory structure of the images are as follows:
├── ApproachAvoidanceConflict
│ ├── media
│ │ ├── images
│ │ │ ├── NI
│ │ │ │ ├── 1050.gif
│ │ │ │ ├── ...gif
│ │ │ │ ├── ...gif
│ │ │ │ ├── ...gif
│ │ │ │ ├── ..
│ │ │ └── PI
│ │ │ ├── 1121.gif
│ │ │ ├── ....gif
│ │ │ ├── ....gif
│ │ │ ├── ....gif
│ │ │ ├── ...
Be sure the images are in this format, otherwise the task will not work.
If you do not have IAPS images, go to this link to submit a request form.
It is the same for IADS sounds
This task uses IADS sounds in .aiff format. To use the actual IAPS, copy the files in the the ApproachAvoidanceConflict/media/sounds/
directory.
The directory structure of the sounds are as follows:
├── ApproachAvoidanceConflict
│ ├── media
│ │ ├── sounds
│ │ │ ├── IADSNA
│ │ │ │ ├── 106.aiff
│ │ │ │ ├── ...aiff
│ │ │ │ ├── ...aiff
│ │ │ │ ├── ...aiff
│ │ │ │ ├── ..
│ │ │ └── IADSPA
│ │ │ ├── 120.aiff
│ │ │ ├── ....aiff
│ │ │ ├── ....aiff
│ │ │ ├── ....aiff
│ │ │ ├── ...
You can also contact me: jtouthang@libr.net