Skip to content

Commit 0feec00

Browse files
thread chages
1 parent 19b6c46 commit 0feec00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micaflow/scripts/bias_correction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def bias_field_correction_4d(image_path, mask_path=None, output_path=None,
737737
if gibbs:
738738
print(f"{CYAN}Running Gibbs ringing removal on b=0 image...{RESET}")
739739
arr_b0 = b0_img.numpy()
740-
gibbs_removal(arr_b0, slice_axis=2, n_points=3, inplace=True, num_processes=1)
740+
gibbs_removal(arr_b0, slice_axis=2, n_points=3, inplace=True, num_processes=threads)
741741
b0_img = b0_img.new_image_like(arr_b0)
742742
else:
743743
b0_img = None

0 commit comments

Comments
 (0)