Skip to content

installation

toujames edited this page Jan 28, 2022 · 9 revisions

Hardware Requirements

Steps

  1. Download repo

    You can also run git clone:

    $ git clone https://github.com/laureate-institute-for-brain-research/Approach-Avoidance-Task.git

  2. Download PsychoPy3

  3. Once PsychoPy3 installed Open psychopy under Runner View

  4. In Runner View, click the green '+' button and add the StimTool.py file.

  5. Plug in Joystick

  6. Highlight the StimTool.py file and press the green running man to run the script.

  7. 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

  8. Select AACOnly_PracticeSession_T1.TL to run the practice session in experiment order

    You must run practice before running the scan session.

  9. 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)

Place Holder Images.

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

Clone this wiki locally