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

how to tell Kilosort some channels are bad, do not use them? #666

Open
zkcsmxz opened this issue Apr 15, 2024 · 2 comments
Open

how to tell Kilosort some channels are bad, do not use them? #666

zkcsmxz opened this issue Apr 15, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@zkcsmxz
Copy link

zkcsmxz commented Apr 15, 2024

Describe the issue:

Hi,
How to tell Kilosort some channels are bad, do not use them?
Thank you

@chris-angeloni
Copy link

chris-angeloni commented Apr 15, 2024

I'm also interested in this feature, it looks like it is possible to create a probe object and set dead channels to -1 (see last block in): https://github.com/MouseLand/Kilosort/blob/main/docs/tutorials/load_data.ipynb

I'm going to find some time soon to try this out

@jacobpennington
Copy link
Collaborator

There is not currently a way to specify this separate from the probe file you use, so you would have to save a new copy of it with those channels excluded. For example, if I originally use:

n_chan_bin = 64
probe = {'chanMap': np.arange(64), ... <other entries specifying 64 values>}

and then notice that the first 3 channels in the data are bad, I would instead use:

n_chan_bin = 64  # this doesn't change
probe = {'chanMap': np.arange(3, 64), ... <other entries specifying 61 values>}

@jacobpennington jacobpennington added the enhancement New feature or request label Apr 16, 2024
@jacobpennington jacobpennington self-assigned this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants