Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel info for sorted spikes #174

Closed
ecoluo opened this issue Jan 14, 2020 · 2 comments · Fixed by #595
Closed

Channel info for sorted spikes #174

ecoluo opened this issue Jan 14, 2020 · 2 comments · Fixed by #595

Comments

@ecoluo
Copy link

ecoluo commented Jan 14, 2020

Hi, I checked the phy github, but I still haven't found the .npy file in which I can find each sorted spike belongs to which channel. So, I can't get the waveform of each spike in matlab if I need it.

@marius10p
Copy link
Contributor

I believe its "templates_ind.npy" which tells you the channels for each template (in order of waveform amplitude). Sorted spikes do no get assigned to individual channels, because they get detected with the template summing information from many neighboring channels. So you'd have to look up the template number for each spike, and then find the first channel for that template.

@ecoluo
Copy link
Author

ecoluo commented Feb 5, 2020

I believe its "templates_ind.npy" which tells you the channels for each template (in order of waveform amplitude). Sorted spikes do no get assigned to individual channels, because they get detected with the template summing information from many neighboring channels. So you'd have to look up the template number for each spike, and then find the first channel for that template.

Thank you so much! I think I've solved my question according to your advice.

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

Successfully merging a pull request may close this issue.

2 participants