fix gamma tests after swapping dose distance criterion order
@@ -56,7 +56,7 @@ class TestGamma():
self.gamma3d = np.round(gamma_shell(
self.coords, self.reference,
self.coords, self.evaluation,
- 0.3, 0.03), decimals=3)
+ 0.03, 0.3), decimals=3)
assert np.all(self.expected_gamma == self.gamma3d)
@@ -65,7 +65,7 @@ class TestGamma():
self.gamma2d = np.round(gamma_shell(
self.coords[1::], self.reference[5, :, :],
self.coords[1::], self.evaluation[5, :, :],
- 0.3, 0.03), decimals=3)
+ 0.03, 0.3), decimals=3)
assert np.all(self.expected_gamma[5, :, :] == self.gamma2d)
@@ -74,7 +74,7 @@ class TestGamma():
self.gamma1d = np.round(gamma_shell(
self.coords[2], self.reference[5, 5, :],
self.coords[2], self.evaluation[5, 5, :],
- 0.3, 0.03), decimals=3)
+ 0.03, 0.3), decimals=3)
assert np.all(self.expected_gamma[5, 5, :] == self.gamma1d)
@@ -109,7 +109,7 @@ class TestGamma():
self.concurrent_reduction = np.round(gamma_shell(
self.coords, self.reference,
self.coords, self.evaluation,
- 0.3, 0.03, max_concurrent_calc_points=10000), decimals=3)
+ 0.03, 0.3, max_concurrent_calc_points=10000), decimals=3)
# print(self.expected_gamma - self.concurrent_reduction)
assert np.all(self.expected_gamma == self.concurrent_reduction)
