nsteinme/steinmetz-et-al-2019

how to get the location of the spikes in a common coordinate space

Closed this issue · 4 comments

My question is how to get the location of spikes in a common coordinate space.

Would that be enough to get the cluster of the spike (from spikes.clusters), and then getting the peakChannel from clusters.peakChannel and finally getting channels.brainLocation.tsv?

Yes, that is correct. Sorry, I can see that this seems like an extra step and it would have been helpful to include a clusters.brainLocation directly, but in any case you got it right.

@nsteinme Another related question about how to match clusters.peakChannel to channels.brainLocation.tsv. The indices in clusters.peakChannel start from 1 (not zero). Does it mean that the channel number 1 matches the first row of channels.brainLocation.tsv?

I see this was a long time ago but I have the same question