Skip to content

Commit

Permalink
Remove s0 from radial profile algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Dec 14, 2023
1 parent a25a530 commit 72e0daf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def compute_threshold(
beam = imageset.get_beam()

# Get 2θ array for the panel or ROI
two_theta_array = panel.get_two_theta_array(beam.get_s0())
two_theta_array = panel.get_two_theta_array(beam.get_unit_s0())
if region_of_interest:
x0, x1, y0, y1 = region_of_interest
two_theta_array = two_theta_array[y0:y1, x0:x1]
Expand Down

0 comments on commit 72e0daf

Please sign in to comment.