Browse Source

updated README to contain information about actual trial numbers

Tim Gollisch 10 months ago
parent
commit
de0c683015
1 changed files with 2 additions and 0 deletions
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -18,6 +18,8 @@ The data are contained in a single HDF5 file (responses2naturalimages.h5). The f
 
 **spikes:** Spike data from 156 cells to the 303 images (300 natural, plus presentation of black, gray, and white) for 13 trials each of 300 ms (from image onset to 100 ms after image offset) at 1 ms resolution. The dataset contains a 156x303x13x300 4-dimensional binary matrix of zeros and ones, corresponding to "spike" ("1") or "no spike" ("0"). The dimensions of the matrix correspond to 156 cells times 303 images times 13 trials times 300 time bins. 
 
+Note, though, that not all cells were recorded for 13 trials; some experiments were performed with fewer trials. In those cases, the data matrix is filled with zeros for the trial numbers beyond those actually recorded. Thus, the true number of trials can be found by identifying trials that have any non-zero entries. (For an example, see the provided sample code in "*sample_code_for_Fig1.m*", mentioned also below.) Alternatively, the file "*trialnumbers.txt*" contains the number of actual trials for each of the 156 cells, with each row corresponding to a cell and cells in the same order as in the data matrix. 
+
 In Python, the dataset can be read into a numpy array with:
     import numpy as np
     import h5py