/fmri

fMRI preprocessing, data, and analysis code for 'Rewards are categories?'

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

fmri

An ad hoc mixture of things from the catreward project.

It was the working repo for the original analysis, and now in retrospect could badly use better organization. Even the repo title fmri is misleading, because...

It includes:

  • Behavoiral data
  • RL model fit data for the behavoiral data
  • Loading functions for both data and models
  • fMRI preprocessing functions
  • Model-based fMRI analysis functions
  • Some misc plotting functions for data visualization in R
  • And who knows what else....

structure - the important things

To (try and) rerun analysis from Erik Peterson's dissertation, run the run1.py, run2.py, etc, files located in fmri/catreward/roi/exps/

This is where most the action is. It's the best place to look to understand the code. Well this and fmri/catreward/ANALYSIS.md.

dependencies

TODO