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

Question about the formula of threshold #1

Open
shz224 opened this issue Jul 23, 2020 · 0 comments
Open

Question about the formula of threshold #1

shz224 opened this issue Jul 23, 2020 · 0 comments

Comments

@shz224
Copy link

shz224 commented Jul 23, 2020

Thanks for the scripts and I have a question about the formula of threshold used in the code.
In the code, threshold is calculated via
eps = np.finfo(float).eps t1 = np.divide(np.ones(np.shape(n)),n+eps) t2 = SNRt + 2*np.sqrt(SNRt)*t1 + np.divide(np.ones(np.shape(n)),np.sqrt(n)) t3 = SNRt + 2*np.sqrt(SNRt)*t1 + 1 T = np.divide(t2,t3)
But according to the article cited in the code, the formula is
image
In my view, t1 should be np.divide(np.ones(np.shape(n)),np.sqrt(n)) instead of np.divide(np.ones(np.shape(n)),n+eps). Am I right or I misunderstood something?

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

1 participant