This code will allow you to fit ANNs to the data and get tunings and most exciting inputs (MEIs)! For details, see the main publication.
Everything is controlled via NPC_monkey.ipynb. Just change the constants in the first cell to match your local path to the data. Then "Run">"Run All Cells". It can take a long time to pre-process the data and then run the models.
N.B. you need to run "extract_MUA.m" first, to unpack the norm MUA data into individual arrays.