V1 grating datasets & decoding code

Here we provide two datasets of neurophysiological recordings from the primary visual cortex of macaques and demo code for performing a decoding analysis for download.


During the experiments, the monkeys were viewing static or moving gratings, while we recorded the activity of multiple well isolated single neurons simultaneously using chronically implanted tetrode arrays. You can freely use these datasets (under a CC-BY license; see below). If you have questions regarding the datasets please contact Philipp Berens and Alexander Ecker.
The supplementary material of Ecker et al. (2010) contains detailed descriptions of the recording setup and detailed stimulus specifications.


We provide both datasets binned at 10 ms resolution. All archives consist of a mat-file containing the spike data, stimulus information and meta-data and a file containing explanations on the data format. Before downloading, please note the details of the license for the datasets provided below.

Code for performing decoding analysis

We used l2-regularized logistic regression for decoding orientation from the spike trains of populations of neurons. To obtain an estimate of the classification error, we used cross-validation with repeated subsampling (20% test data, 80% training data). The demo script contains the code for the essential features of the analysis performed in Berens et al. (2012) and reproducesFig. 1B of the paper.


The demo script and several helper function are available as a zip archive. It includes the glmnet toolbox in the version used for the paper, also available at the author's page.


The datasets & the decoding analysis were described in the following papers:

A. S. Ecker, P. Berens, G. A. Keliris, M. Bethge, N. K. Logothetis, and A. S. Tolias
Decorrelated Neuronal Firing in Cortical Microcircuits
Science, 327(5965), 584-587, 2010
#noise correlations, #multi-tetrode recordings, #v1, #macaque
Code, URL, DOI, PDF, Dataset, BibTex

P. Berens, A. S. Ecker, R. J. Cotton, W. J. Ma, M. Bethge, and A. S. Tolias
A fast and simple population code for orientation in primate V1
Journal of Neuroscience, 32(31), 10618-10626, 2012
#population coding, #orientation, #v1, #macaque, #logistic regression, #multi-tetrode recordings, #noise correlations
Code, URL, PDF, Dataset, BibTex


The datasets provided on this page by A. S. Tolias, A. S. Ecker and P. Berens are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License

The demo code for the paper "A fast and simple population code in primate V1" by P. Berens is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License
University of Tuebingen BCCN CIN MPI