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

Extracting the channel in which spike amplitude is the largest #478

Closed
yasminya opened this issue Mar 9, 2022 · 1 comment · Fixed by #595
Closed

Extracting the channel in which spike amplitude is the largest #478

yasminya opened this issue Mar 9, 2022 · 1 comment · Fixed by #595

Comments

@yasminya
Copy link

yasminya commented Mar 9, 2022

The channel assigned to each cluster is some kind of interpolation predicting to which channel the neurons is closest too. However, in many cases this does not result in the channel where the largest events appear. Is there a way to re-assign channel number to cluster so that the channel selected is the one with the largest amplitude spikes?

@zm711
Copy link

zm711 commented Nov 9, 2022

If you go to the spikes https://github.com/cortex-lab/spikes repo by Nick Steinmetz, there's a function called getWaveForms in the analysis folder which allows you get the raw waveforms. Then you could calculate the max amplitudes of the raw waveforms for a cluster and do a weighting by amplitudes instead to calculate the max channel.

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