Skip to content

Commit df63c72

Browse files
committed
corrections
1 parent 0e9ade9 commit df63c72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

httomolibgpu/prep/phase.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,6 @@ def paganin_filter_savu_legacy(
263263
The 3D array of Paganin phase-filtered projection images.
264264
"""
265265

266-
ratio_delta_beta /= 4 * 2 * np.pi # rescaling to conform Savu's ratio value
267-
268-
return paganin_filter(tomo, pixel_size, distance, energy, ratio_delta_beta)
266+
return paganin_filter(
267+
tomo, pixel_size, distance, energy, ratio_delta_beta / (4 * 2 * np.pi)
268+
)

0 commit comments

Comments
 (0)