Skip to content

Commit

Permalink
Fixed integration profiler errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Aug 1, 2024
1 parent 45b8138 commit 44a4b0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dials/algorithms/integration/fit/tof_line_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def compute_line_profile_data_for_reflection(
)
l.fit()
line_profile = l.result()
fit_intensity = integrate.simpson(line_profile, tof)
fit_intensity = integrate.simpson(line_profile, x=tof)
except ValueError:
return [], [], [], [], -1, -1, -1, -1

Expand Down
2 changes: 1 addition & 1 deletion src/dials/command_line/tof_integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
sigma_m = 10
.type = float
.help = "Used to calculate z bounding box of predicted reflections"
foreground_radius=0.3
foreground_radius=0.5
.type = float
.help = "Foreground mask radius in inverse angtroms"
keep_shoeboxes = False
Expand Down

0 comments on commit 44a4b0f

Please sign in to comment.