You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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?
The text was updated successfully, but these errors were encountered:
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
In my view,
t1
should benp.divide(np.ones(np.shape(n)),np.sqrt(n))
instead ofnp.divide(np.ones(np.shape(n)),n+eps)
. Am I right or I misunderstood something?The text was updated successfully, but these errors were encountered: