Skip to content

Commit

Permalink
reduce atol_deg due to smaller omegas
Browse files Browse the repository at this point in the history
  • Loading branch information
KedoKudo committed Feb 15, 2024
1 parent e876823 commit b47083a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/backend/diagnostics/test_rotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_differrent_centers(center_ref):
# this is using default number of pairs (1)
center_calc = find_rotation_center(arrays=projs, angles=OMEGAS, in_degrees=False)
# with atol
center_calc2 = find_rotation_center(arrays=projs, angles=OMEGAS, in_degrees=False, atol_deg=0.5)
center_calc2 = find_rotation_center(arrays=projs, angles=OMEGAS, in_degrees=False, atol_deg=0.01)
# verify
# NOTE:
# answer within the same pixel should be sufficient for most cases
Expand Down

0 comments on commit b47083a

Please sign in to comment.