Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.57 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.57 KB

Gaze aversion during autobiographical memory retrieval

This repository contains code to reproduce analyses from the paper Why Do You Look Away When Trying to Remember? Gaze Aversion as a Marker of the Attentional Switch to Autobiographical Memory.

Data

The raw data and preprocessed data for 32 participants (behavioural and eye-tracking data) are available at OSF.

The material to reproduce the experiment is available at OSF_task. Here is an illustration of the experimental set_up:

Usage

To setup the code please follow the following steps :

  1. Run the following code in the terminal
mkdir GazeAversionAStoM 
cd GazeAversionAStoM

conda create --name gaze_astom python==3.8 #alternatively you can also use venvs
conda activate gaze_astom
git clone https://github.com/AnaisServais/Gaze-aversion-Memory-retrieval.git

cd Gaze-aversion-Memory-retrieval
cd code
pip install -r requirements.txt 
  1. Download the data folder from OSF_data, copy and unzip the data folder insise the code folder (which has been created during the step 1).
  2. Run the .ipynb files in the order indicated by the number at the beginning of the file name (example: 1_extraction_gaze_aversion_1.ipynb before 2_extraction_gaze_aversion_2_access.ipynb, and so on).