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

Renumbering Clusters after Sorting #66

Open
seacritasianman opened this issue Jan 5, 2017 · 4 comments
Open

Renumbering Clusters after Sorting #66

seacritasianman opened this issue Jan 5, 2017 · 4 comments

Comments

@seacritasianman
Copy link

Hello,

I was wondering if there's a way to renumber all the clusters after sorting, either manually, or automatically (starting with 0 being the noise clusters to N-1 clusters). Thanks

@rossant
Copy link
Member

rossant commented Jan 6, 2017

It's not possible at the moment, unfortunately.

@seacritasianman
Copy link
Author

Do you know if there's any easy way to find the cluster ID of the noise and MUA clusters after using Klustaviewa, esp via MATLAB? Thanks.

@rossant
Copy link
Member

rossant commented Jan 7, 2017

Yes, open the kwik file in MATLAB and check out the path /channel_groups/0/clusters/main/47/ (for cluster 47 of shank 0), the attribute name is cluster_group, the value is 0 or 1 for noise or MUA. See https://www.mathworks.com/help/matlab/ref/h5readatt.html?s_tid=gn_loc_drop

@seacritasianman
Copy link
Author

Perfect. Thank you for your help.

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

No branches or pull requests

2 participants