-
Notifications
You must be signed in to change notification settings - Fork 195
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
scale parameter in kilosort4 #3561
Comments
Could you explain this a bit more. You are just doing
We have a wrapper around KS4. Adding extra layers of python will always slow things down. Could you quantify how much slower? We often find the biggest slow-down for people who want to use shank isolation in SpikeInterface. KS4 will try to automatically do this for the templates with dminx, which allows it to pass through the data less, then if you actually isolate the data with our wrapper which would then go through the data 1 time per shank. We think the hit in speed is worth the increase in accuracy. But small slowdowns are absolutely expected when wrapping other code. :) |
Thank you for your reply! For the first point: I load the data by For the second one, I ran a 3-hour recording collected with Neuropixels NHP in the Kilosort4 GUI, and it took 5.5 hours. However, running it through the KS4 wrapper in SpikeInterface took 7 hours. I used the default params in both of them. |
Sorry for the delay, the holiday break dropped this off our radar. For scale I would directly ask the KS4 team to understand what the need for that is! And I think 5.5 vs 7 hours could be reasonable within the context of a wrapper. It's what about 1.2 or 1.3x slowdown which makes sense! |
Hi! I am using kilosort4 in spikeinterface to do spike sorting. I notice the scale parameter in kilosort4. Should I set it to the same as gain_to_uV property in my recording data, or just leave it to None? My recording data is in binary format, and acquired from our lab's own system. And I manually set the gain_to_uV property to the data.
Another question: I found running kilosort4 in spikeinterface is slower than running it separately through KS4 GUI. I am curious why it is.
Thanks a lot!
The text was updated successfully, but these errors were encountered: