-
Notifications
You must be signed in to change notification settings - Fork 201
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
Implemented RT-Sort as an external sorter #3597
base: main
Are you sure you want to change the base?
Conversation
Hello, this looks great! A few things:
Thanks! |
Hi. |
Thank you for your fast review! In the first commit, RT-Sort was added to the "Supported Spike Sorters" section. Is there another section where I should add it? In the most recent commit, I added a reference to my paper in doc/references.rst and created src/spikeinterface/sorters/external/tests/test_rtsort.py. I'll resolve the error with your data next. Thanks for documenting the issue so well and providing example data. |
I think it would be great if you published RT-sort as a python package with all its dependencies. That would make installation instructions and the |
|
||
rt_sort = detect_sequences(**params, delete_inter=False, return_spikes=False) | ||
np_sorting = rt_sort.sort_offline( | ||
rt_sort_inter / "scaled_traces.npy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it means that rt-sort is making a full copy of the traces ?
is it necessary ?
The main idea of the spikeinterface recording API is to avoid copy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, RT-Sort writes a full copy of the traces on disk. While not technically necessary, because RT-Sort needs to repeatedly access the traces, testing has shown that this makes RT-Sort extremely faster. I can have the detect_sequences method delete the copy if that would be useful.
RT-Sort utilizes the other main idea of the spikeinterface recording API well by being able to sort traces from any acquisition device with at least 50 micrometer pitch.
Thank you for all your comments! I simplified the installation process and implemented |
My branch (before merging main) failed the tests Complete tests / windows-latest Python 3.9, Complete tests / windows-latest Python 3.12, and Complete tests / windows-latest Python 3.12. I may be mistaken, but I believe that all three failed because of the same reason: the command Could someone please advise me on how I could resolve this error? Thanks! |
@max-c-lim that has been fixed! Can you try again? @samuelgarcia tests fail for tdc1. Do you plan to update it to support numpy 2.0? |
No description provided.