Skip to content

ThomasAkam/Two-step_ACC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains analysis code and pyControl task definition code for the manuscript:

The anterior cingulate cortex predicts future states to mediate model-based action selection.

Thomas Akam, Ines Rodrigues-Vaz, Ivo Marcelo, Xiangyu Zhang, Michael Pereira, Rodrigo Freire Oliveira, Peter Dayan, Rui M. Costa.

Neuron 109.1 (2021): 149-163. https://doi.org/10.1016/j.neuron.2020.10.013


The analysis code folders contain scripts with functions to generate manuscript figures. All analysis code is in Python 3, all required packages should come by default with the Anaconda Python distribution.

The pyControl task definition files specify the the two-step and probabilistic reversal learning tasks. For more information see: http://pycontrol.readthedocs.io

To use the analysis code, download or clone this repository to obtain the folder analysis_code. Download the file data.zip from OSF and unzip to obtain the folder data. The analysis code expects the folders analysis_code and data to be in the same directory, giving the following folder structure:

  • analysis code:

    • reversal_learning : Analysis code for the reversal learning task.
    • two_step : Analysis code for the two-step task.
  • data:

    • reversal_learning_task : Behavioural data for the reversal learning task.
    • two_step_task : Behavioural and imaging data (CNMFe output) for two-step task.

About

Analysis code for Akam et al. Neuron 2021 - The anterior cingulate cortex predicts future states to mediate model-based action selection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages