This repository includes the code used for model fitting in de Jong et al. 2024
Rescorla-Wagner.m - MATLAB code used for fitting a model to data obtained during a two-armed bandit task.
two_stage_model.ipynb - Jupyter Notebook detailing the model fitting to our Neuropixels dataset.