Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Timestamps of some identified clusters do not align with peak of spikes. #6

Open
linamnt opened this issue Sep 14, 2018 · 6 comments
Open

Comments

@linamnt
Copy link

linamnt commented Sep 14, 2018

In some of the identified clusters after running the whole pipeline, the timestamps for spikes do not represent the peak amplitude of the spikes, but seem shifted. This happens to all spikes within that cluster. See below where we plot a window 20 timepoints before and after the timestamp.

shifted-spikes

When we expanded the time window further back, we see that the timestamps do correspond to a real cell as shown below.

shifted-spike-resolved

Thanks in advance.

@magland
Copy link
Collaborator

magland commented Sep 15, 2018

I'm not exactly certain what you are asking. But let me ask you first, are the spikes expected to be positive or negative? and what are you using for detect_sign (or spike_sign) in the parameters?

@linamnt
Copy link
Author

linamnt commented Sep 15, 2018 via email

@magland
Copy link
Collaborator

magland commented Sep 17, 2018

I am having trouble understanding the figures. Could you please describe in more detail. Why are there zeros?

@linamnt
Copy link
Author

linamnt commented Sep 18, 2018

We use the Neuralynx set-up which returns a .ntt file with timestamps of potential spikes, and then stitched them together to make continuous file where the zeros are the padding around these spikes. In that case, should we be using the .ncs with just the channels x raw waveform information instead?

@magland
Copy link
Collaborator

magland commented Sep 20, 2018

Oh I see. I didn't realize you are using snippets, rather than continuous recording. In this case, you know the spike times... so ideally you should not need a detection stage for mountainsort. Somebody else was working on creating a simplified snippets version of mountainsort. How many channels do you have?

@linamnt
Copy link
Author

linamnt commented Sep 20, 2018

We have 4 channels (it's a tetrode recording)
Just to clarify, why do you think that the spike timestamps from the stitched .ntt are not accurate given the signal-to-noise in the stitched snippets should be much higher?
Also, for now, can we use the .ncs (which is a single channel continuous file) and stitch the four channels together to use this pipeline?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants