stringer-pachitariu-et-al-2018a

This code produces the figures from Stringer, Pachitariu et al, 2018a:

Carsen Stringer, Marius Pachitariu, Nicholas Steinmetz, Charu Bai Reddy, Matteo Carandini, Kenneth D. Harris Spontaneous behaviors drive multidimensional, brain-wide population activity https://www.biorxiv.org/content/early/2018/04/22/306019

It relies on data deposited on figshare at:

Carsen Stringer, Marius Pachitariu, Charu Bai Reddy, Matteo Carandini, Kenneth D. Harris Recordings of ten thousand neurons in visual cortex during spontaneous behaviors. figshare. Fileset.

Only the main datasets are currently uploaded, which produce figures 1-4. Shortly we will add new datasets for figures 5 and 6.

The script 'mainFigs.m' calls all figure-producing scripts. Set useGPU=0 if you do not have a GPU.

While this is useful for reproducing the paper, it does not easily allow building on the main analysis we do, or running these analyses on different data. Therefore, we will add separate scripts to run analyses one at at time, with the data clearly loaded at the top of the script, so you can swap yours in.