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
Question about SNR definition #2832
Comments
Hi. For spikeinterface, you can use the Internally,it devides the peak amplitude on the max channel by the noise with the formula you mention (MAD/0.6745). |
That is just one example of a filter one could use. We just wanted to be detailed in reporting what was actually done. SNR doesn't need to be estimated in that way. You could use your own filter. |
Hi Magland and Samuel, thanks for the reply! I have two more follow-up questions:
|
On a full band signal the noise level has really a different interpretation! But the amplitude of the peak should be similar.
In spikeinterface this is single end. So 100. |
Yes. this is also what I think. That means the filters chosen will influence the SNR calculation. |
@ZoeChen96 You need to at least do a high-pass filter (to remove low frequencies)... otherwise the signal maximum (peak amplitude) will be meaningless and the std dev calculation will also not be correct. Whatever you decide for a filter, you should report it. |
Hi Magland, thanks for the reply! That's clear now. Thank you very much! |
Hello,
I am reading your papers of SpikeInterface and SpikeForest and have a question about SNR definition. I have a MEArec dataset , where the noise is 10uVrms and the spike amplitude from 40uV to 300uV. How can I calculate the SNR range for the dataset?
I see there is a definition in SpikeForest paper:
where it mentions that a filter should applied and then the average amplitude divided by the estimated std, which is calculated as (MAD/0.6745).
Can I just use the amplitude divided by noise std value (as I already know from MEArec) to calculate the SNR range? For example in the aforementioned MEArec dataset, the SNR range would be (4-30), which is (0.60dB-1,48dB)
Why is the weird filter needed?
The text was updated successfully, but these errors were encountered: