Skip to content

Commit b6b5429

Browse files
authored
Merge pull request #231 from DiamondLightSource/lprec_extra_args
Extend variables list
2 parents b96ed32 + 310a202 commit b6b5429

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

httomolibgpu/recon/algorithm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ def LPRec3d_tomobar(
214214
filter_freq_cutoff: float = 1.0,
215215
recon_size: Optional[int] = None,
216216
recon_mask_radius: float = 0.95,
217+
power_of_2_oversampling: Optional[bool] = True,
218+
min_mem_usage_filter: Optional[bool] = False,
219+
min_mem_usage_ifft2: Optional[bool] = False,
217220
neglog: bool = False,
218221
) -> cp.ndarray:
219222
"""
@@ -265,6 +268,9 @@ def LPRec3d_tomobar(
265268
data_axes_labels_order=input_data_axis_labels,
266269
filter_type=filter_type,
267270
cutoff_freq=filter_freq_cutoff,
271+
power_of_2_oversampling=power_of_2_oversampling,
272+
min_mem_usage_filter=min_mem_usage_filter,
273+
min_mem_usage_ifft2=min_mem_usage_ifft2,
268274
)
269275
cp._default_memory_pool.free_all_blocks()
270276
return cp.require(cp.swapaxes(reconstruction, 0, 1), requirements="C")

0 commit comments

Comments
 (0)