Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.08 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.08 KB

This code is for the Human IBL decision-making task

Install

Get yourself an environment with MNE

  • follow these instructions

  • install psychofit for psychometric function fitting, using pip install psychofit.

  • install pip install audio-extract

  • install pip install moviepy

  • install pip install opencv-python

  • download pupilprep from https://github.com/jwdegee/pupilprep/tree/main and install it into your environment by navigating to the directory and running pip install -e . in the terminal

Run

snapshot_behavior.py # generates behavioral figures for all PsychoPy .csv files in the _data_ folder
snapshot_pupil.py # generates pupil figures for all Eyelink .asc files in the _data/human_pupil_ folder

Contact Anne Urai, Leiden University, 2024 a.e.urai@fsw.leidenuniv.nl