@@ -125,7 +125,7 @@ def test_reconstruct_FBP3d_tomobar_i12_dataset1_autopad(i12_dataset1: tuple):
125125 )
126126 assert recon_data .flags .c_contiguous
127127 recon_data = recon_data .get ()
128- assert_allclose (np .sum (recon_data ), 7422.912 , rtol = 1e-07 , atol = 1e-6 )
128+ assert_allclose (np .sum (recon_data ), 6669.1274 , rtol = 1e-07 , atol = 1e-6 )
129129 assert recon_data .dtype == np .float32
130130 assert recon_data .shape == (2560 , 5 , 2560 )
131131
@@ -154,9 +154,9 @@ def test_reconstruct_LPRec3d_tomobar_i12_dataset1(i12_dataset1: tuple):
154154 )
155155 assert recon_data .flags .c_contiguous
156156 recon_data = recon_data .get ()
157- assert isclose (np .sum (recon_data ), 9085.442 , abs_tol = 10 ** - 3 )
158- assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.0063419784
159- assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.0062314235
157+ assert isclose (np .sum (recon_data ), 9628.818 , abs_tol = 10 ** - 3 )
158+ assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.006367563270032406
159+ assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.0062076798
160160 assert recon_data .dtype == np .float32
161161 assert recon_data .shape == (2560 , 3 , 2560 )
162162
@@ -185,9 +185,9 @@ def test_reconstruct_LPRec3d_tomobar_i12_dataset1_autopad(i12_dataset1: tuple):
185185 )
186186 assert recon_data .flags .c_contiguous
187187 recon_data = recon_data .get ()
188- assert int (np .sum (recon_data )) == 8590
189- assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.006351378
190- assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.00622256
188+ assert int (np .sum (recon_data )) == 9147
189+ assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.0063818083
190+ assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.006200762
191191 assert recon_data .dtype == np .float32
192192 assert recon_data .shape == (2560 , 3 , 2560 )
193193
@@ -231,7 +231,7 @@ def test_reconstruct_LPRec_tomobar_i13_dataset1(i13_dataset1: tuple):
231231
232232 assert recon_data .flags .c_contiguous
233233 recon_data = recon_data .get ()
234- assert int (np .sum (recon_data )) == 1134
234+ assert int (np .sum (recon_data )) == 1149
235235 assert recon_data .dtype == np .float32
236236 assert recon_data .shape == (4646 , 1 , 4646 )
237237
@@ -300,9 +300,9 @@ def test_reconstruct_LPRec3d_tomobar_i13_dataset2(i13_dataset2: tuple):
300300 )
301301 assert recon_data .flags .c_contiguous
302302 recon_data = recon_data .get ()
303- assert int (np .sum (recon_data )) == 3887
304- assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.0105562
305- assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.00835598
303+ assert int (np .sum (recon_data )) == 3448
304+ assert pytest .approx (np .max (recon_data ), rel = 1e-3 ) == 0.010543354
305+ assert pytest .approx (np .min (recon_data ), rel = 1e-3 ) == - 0.008385599
306306 assert recon_data .dtype == np .float32
307307 assert recon_data .shape == (2560 , 10 , 2560 )
308308
@@ -435,7 +435,7 @@ def test_reconstruct_LPRec3d_tomobar_k11_dataset2(k11_dataset2: tuple):
435435 )
436436 assert recon_data .flags .c_contiguous
437437 recon_data = recon_data .get ()
438- assert isclose (np .sum (recon_data ), 7689.375 , abs_tol = 10 ** - 3 )
438+ assert isclose (np .sum (recon_data ), 10865.341 , abs_tol = 10 ** - 3 )
439439 assert recon_data .dtype == np .float32
440440 assert recon_data .shape == (2560 , 25 , 2560 )
441441
@@ -517,6 +517,6 @@ def test_reconstruct_FISTA3d_tomobar_autopad_k11_dataset2(k11_dataset2: tuple):
517517 )
518518 assert recon_data .flags .c_contiguous
519519 recon_data = recon_data .get ()
520- assert isclose (np .sum (recon_data ), 1293.3489 , abs_tol = 10 ** - 3 )
520+ assert isclose (np .sum (recon_data ), 1518.5251 , abs_tol = 10 ** - 3 )
521521 assert recon_data .dtype == np .float32
522522 assert recon_data .shape == (2560 , 5 , 2560 )
0 commit comments