ofc-1 timing question
I have a couple quick questions regarding how the trials are aligned. I'm specifically looking at ofc-1/N1/040624 as a starting point.
TE = load('/ofc-1/N1/040624/TrialEvents2.mat')
load('../data/ofc-1/N1/040624/Sc1_1.mat') % loads spike times as `TS` variable
My goal at this point is to make a sparse matrix holding a raster of (trials x time) for this neuron with each trial aligned to the initial poke into the odor port.
1) The first trial start time is TE.TrialStart(1) is NaN. Why?
2) Am I right to guess that the trial start times are in seconds and the spike times are measured in tenths of milliseconds? The first spike time is 9.2450e+05 and the last trial start is 5.3761e+03. It seems like I need to divide TS by 1e4 to get something reasonable.
Thanks, -- Alex