# NAcVP2018

Data and code from our 2018 article in *Nature Communcations* on relative value signaling in NAc and VP. http://doi.org/10.1038/s41467-018-06849-z

All figures can be reproduced by downloading the RAW.mat structure following the MATLAB scripts in alphabetical order. We have also uploaded the additional structures produced by these scripts as were used in the manuscript.

The scripts require additional functions contained in the "Supporting Programs" folder in the scripts folder. They were created on MATLAB R2016b.

The code was altered to use a fixed bin width for making PSTHs instead of the optimal bin width as used in the paper. The optimal bin width code is from Howard Fields's lab and can be acquired upon reasonable request.