Matlab structure data has 84 entries each corresponding to a single experimental session. The fields in this structure are: Relevant parameters: pg = number of photostim. groups in 1 session tr = number of trials for a given condition ti = number of time points N = number of neurons R: pg+1 x 1 cell containing ti x N x tr array of activity on lick right trials, first entry corresponse to non-photostimulation trials, second entry is for photostimulation group 1 etc. L: pg+1 x 1 cell containing ti x N x tr array of activity on lick left trials, first entry corresponse to non-photostimulation trials, second entry is for photostimulation group 1 etc. CR: pg x 1 cell containing 1 x tr binary vector of behavioral outcome on right trials (1, correct; 0, incorrect) CL: pg x 1 cell containing 1 x tr binary vector of behavioral outcome on left trials (1, correct; 0, incorrect) distance: pg x 1 cell containing 1 x N vector with the distance (in micrometers) to the nearest photostimulation target epochs: time in seconds of sample, photostim and go cue file: source file containing additional metadata (available upon request). st_## in the file name refers to the animal number. dt_si: time step (in seconds) stimXY: pg x 1 cell with arrays specifying locations (in pixels) of photostimulation targets XY: N x 2 array of location (in pixels) of all neurons.