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

Fix broken _load_channel_shanks(). #41

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoeZiminski
Copy link

Currently in Phy the sh entry on the ClusterView and SimilarityView table's is always zero. It seems this is because the files these were originally read from are not longer available. This PR reads them instead from the channel_positions.npy.

This may require re-running tests somewhere, please let me know if there any other considerations, I have not tested this past loading Phy and checking the sh column now contains indices which match the shank with the largest loading for a unit.

@JoeZiminski JoeZiminski changed the title Fix broken channel_shanks. Fix broken _load_channel_shanks(). Nov 30, 2023
@zm711
Copy link
Contributor

zm711 commented Nov 30, 2023

This would be great. So many probes are moving to multi-shank these days.

@JoeZiminski
Copy link
Author

Hi @rossant would you mind taking a look at this one too? cheers!

@JoeZiminski
Copy link
Author

Actually apologies @rossant some further testing shows the assumption that channel positions will contain 1 unique x-position per shank is wrong. Will convert to draft and have a think.

@JoeZiminski JoeZiminski marked this pull request as draft December 6, 2023 12:02
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 this pull request may close these issues.

2 participants