Skip to content

Commit

Permalink
Merge pull request #39 from toastisme/remove_s0_from_radial_profile
Browse files Browse the repository at this point in the history
Remove s0 from radial profile algorithm.
  • Loading branch information
toastisme authored Dec 14, 2023
2 parents a25a530 + 72e0daf commit eb3646c
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 eb3646c

Please sign in to comment.