Skip to content

Commit 500fe97

Browse files
authored
Merge pull request #234 from DiamondLightSource/power_of_2_cropping_parameter
Add power_of_2_cropping to the LPRec parameters
2 parents b6b5429 + 9833573 commit 500fe97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

httomolibgpu/recon/algorithm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ def LPRec3d_tomobar(
215215
recon_size: Optional[int] = None,
216216
recon_mask_radius: float = 0.95,
217217
power_of_2_oversampling: Optional[bool] = True,
218+
power_of_2_cropping: Optional[bool] = True,
218219
min_mem_usage_filter: Optional[bool] = False,
219220
min_mem_usage_ifft2: Optional[bool] = False,
220221
neglog: bool = False,
@@ -269,6 +270,7 @@ def LPRec3d_tomobar(
269270
filter_type=filter_type,
270271
cutoff_freq=filter_freq_cutoff,
271272
power_of_2_oversampling=power_of_2_oversampling,
273+
power_of_2_cropping=power_of_2_cropping,
272274
min_mem_usage_filter=min_mem_usage_filter,
273275
min_mem_usage_ifft2=min_mem_usage_ifft2,
274276
)

0 commit comments

Comments
 (0)