From 63a1db65e61374d4ab5637356ee884ecb9a0914f Mon Sep 17 00:00:00 2001 From: David Date: Sat, 30 Nov 2019 13:53:18 +1030 Subject: [PATCH] still now working --- phasenn_test9b.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phasenn_test9b.py b/phasenn_test9b.py index 9f3c2e5..2163ff9 100755 --- a/phasenn_test9b.py +++ b/phasenn_test9b.py @@ -68,7 +68,7 @@ for i in range(nb_samples): # select n0 between 0...P-1 (it's periodic) n0[i] = r[2]*P - e = np.exp(-1j*n0[i]*range(1,width)*np.pi/width) + e = np.exp(-1j*n0[i]*range(width)*np.pi/width) for m in range(1,L[i]): bin = int(np.round(m*Wo[i]*width/np.pi))