Skip to content

Commit 899a8a0

Browse files
committed
Update LPRec test to reflect tomobar v2025.3 changes
1 parent bf4019d commit 899a8a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_recon/test_algorithm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def test_reconstruct_LPREC_1(data, flats, darks, ensure_clean_memory):
9797
)
9898
assert recon_data.flags.c_contiguous
9999
recon_data = recon_data.get()
100-
assert_allclose(np.mean(recon_data), 0.0035118104, rtol=1e-07, atol=1e-6)
101-
assert_allclose(np.mean(recon_data, axis=(0, 2)).sum(), 0.44951183, rtol=1e-05)
102-
assert_allclose(np.max(recon_data), 0.058334317, rtol=1e-07, atol=1e-6)
100+
assert_allclose(np.mean(recon_data), 0.0070263873, rtol=1e-07, atol=1e-6)
101+
assert_allclose(np.mean(recon_data, axis=(0, 2)).sum(), 0.89937746, rtol=1e-05)
102+
assert_allclose(np.max(recon_data), 0.098308131, rtol=1e-07, atol=1e-6)
103103
assert recon_data.dtype == np.float32
104104
assert recon_data.shape == (130, 128, 130)
105105

0 commit comments

Comments
 (0)