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

Denoise data of different sampling frequency #10

Open
jnjnnjzch opened this issue Mar 15, 2024 · 1 comment
Open

Denoise data of different sampling frequency #10

jnjnnjzch opened this issue Mar 15, 2024 · 1 comment

Comments

@jnjnnjzch
Copy link

Hi,

I'm dealing with my recorded data with dartsort, but the errors raise as the sampling fequency become 20 kHz instead of the default 30 kHz.

I've noticed that in your paper of dartsort and YASS the denoiser is implemented with a neural network, and in code it is implemented with a pretrained NN. So I'm wondering if this provided denoiser NN is suitble for different sampling frequency data?

Besides, it mentioned another pipeline that avoid using NN to denoise data. May I know how to use it with your codes?

Looking for any response, thanks!

@cwindolf
Copy link
Owner

Hi @jnjnnjzch , thanks for reaching out!

You can turn off the NN by setting do_nn_denoise=False in any FeaturizationConfigs that appear in your pipeline. Since the iterative subtraction in our initial detection works best with the NN, you'll also want to set detection_thresholds=[5] (or your threshold of choice) to avoid the iterations in your SubtractionConfig. Note that configuration will become simpler as we get closer to having a spike sorting pipeline that is ready for users.

Given that this code is currently experimental, please be aware that there will be breaking changes in the APIs and that there may be issues which appear as we continue to work on this code. I'd be curious to learn more about your usage of dartsort so far! Feel free to email me if you like (email in my profile).

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