Skip to content

Commit bc7af7b

Browse files
committed
docs update for raven filter
1 parent 333ffe7 commit bc7af7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

httomolibgpu/prep/stripe.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,13 +394,13 @@ def raven_filter(
394394
Numpy pad method to use.
395395
396396
uvalue : int, optional
397-
The shape of filter.
397+
Cut-off frequency. To control the strength of filter, e.g., strong=10, moderate=20, weak=50.
398398
399399
nvalue : int, optional
400400
The shape of filter.
401401
402402
vvalue : int, optional
403-
The number of rows to be applied the filter
403+
Number of image-rows around the zero-frequency to be applied the filter.
404404
405405
Returns
406406
-------
@@ -447,6 +447,7 @@ def raven_filter(
447447
raven_filt = raven_module.get_function(kernel_args)
448448

449449
raven_filt(grid_dims, block_dims, params)
450+
del fft_data_shifted
450451

451452
# raven_filt already doing ifftshifting
452453
data = ifft2(fft_data, axes=(0, 2), overwrite_x=True)

0 commit comments

Comments
 (0)