Skip to content

Commit 5250ba5

Browse files
committed
removing condition on cor calculation
1 parent 4ade3bc commit 5250ba5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

httomolibgpu/recon/rotation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -474,11 +474,7 @@ def find_center_360(
474474
(overlap, side, overlap_position) = _find_overlap(
475475
sino_top, sino_bot, win_width, side, denoise, norm, use_overlap
476476
)
477-
if side == "left":
478-
# cor = overlap / 2.0 - 1.0
479-
cor = ncol // 2 # NOTE: major correction to check!
480-
else:
481-
cor = ncol - overlap / 2.0 - 1.0
477+
cor = ncol - overlap / 2.0 - 1.0
482478

483479
return cor, overlap, side, overlap_position
484480

0 commit comments

Comments
 (0)