mortonne / nireact

Using modeling to relate neuroimaging measures to reaction time data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nireact

DOI

Using modeling to relate neuroimaging measures to reaction time data.

This project contains code used to run analyses and create plots and statistics for the following paper:

Morton NW, Schlichting ML, Preston AR. 2020. Representations of common event structure in medial temporal lobe and frontoparietal cortex support efficient inference. Proceedings of the National Academy of Sciences. 117(47): 29338-29345. doi:10.1073/pnas.1912338117.

Nireact uses PsiReact, which provides general tools for modeling response time data.

Installation

First, install swig. You can do this using Miniconda:

conda create -n nireact
conda activate nireact
conda install python=3.7 swig

Then you can install nireact into your conda environment using pip:

pip install git+git://github.com/mortonne/nireact 

Reproducing analysis

Data are available on OSF. After downloading the data, you can run analyses for the paper using the Jupyter notebooks in the jupyter directory. You will have to edit the first cell of each notebook to change the path to the data on your computer.

About

Using modeling to relate neuroimaging measures to reaction time data.

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 97.2%Language:Python 2.8%