Skip to content

Commit 446f792

Browse files
mariomario
authored andcommitted
correct typo in get_parameters
1 parent 9d926be commit 446f792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/python/cni_toolbox/HGR.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def get_parameters(self, n_batch = 10000,
203203

204204
for i in range(625):
205205
x = np.cos(np.pi / 4) * R[i]
206-
x = np.sin(np.pi / 4) * R[i]
206+
y = np.sin(np.pi / 4) * R[i]
207207
I[i] = np.mean(gaussian(x, y, S[i], x_coordinates, y_coordinates))
208208

209209
P = np.hstack((I, R))

0 commit comments

Comments
 (0)