# fmri

An _ad hoc_ mixture of things from the `catreward` project. 

It was the working repo for the original analysis, and 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....

# fmri

An _ad hoc_ mixture of things from the `catreward` project. 

It was the working repo for the original analysis, and 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

Add some hints about this mess
Add some hints about this mess