Closed gmbcrazy closed 6 years ago
@dlevenstein for spindice description the .COM field is the center of mass of the place field. It is a weighted mean of the bins within the field start/stop
Yup, spikes.spindices(:,1) is the timestamps of spikes and spikes.spindices(:,2) is the cellID of the corresponding spikes.
the information is redundant with spikes.times, but is in a form that is useful for some operations/plotting/etc.
Thank you so much guys. @DavidTingley @dlevenstein
Hi, @DavidTingley
I'm recently using your decoding code. There's two "fields" in some of the structure variables, which I don't really understand.
one is "spike.spindice", I wonder if spikes.spindices(:,1) is the timestamps of spikes and spikes.spindices(:,2) is the cellID of corresponding spikes?
the other one is : fields{behavior.events.trialConditions(t)}{cellIDs(cell)}{1}.COM What is this?
Best, LU