This repository contains a collection of Python scripts, which analyze the eye-tracking data of our fMRI experiments.
Disclaimer 1: The code is very specific to our use case and may need substantial changes to work with other setups. Disclaimer 2: I am not a Python programmer. I'm always grateful for feedback on how to improve my code.
The project should run in any Python 3.6 environment. It was developed with the PyCharms IDE.
- All files are in the
/data_rawdirectory - EyeLink eye-tracking log:
*participant_id*.asc - [Optional] Response:
*participant_id*_response.log - [Optional] Physio:
*participant_id*_physio.log
Before starting the Python script, prepare the data.
- Get
.edflog file from EyeLink - Convert
.edffile to an ASCII-file.ascwith EyeLink'sedf2asc-Tool. - Move
.ascfile to the project's/data_rawfolder - [Optional] Add physio and response log files according to the conventions above
Next, you can either run individual analyses or the whole pipeline via RunPipeline.py.
MIT License
Copyright (c) 2018 Norman Peitek