Skip to content

Commit 161f2f6

Browse files
committed
fix smoothim
1 parent c7aa789 commit 161f2f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spm12/regseg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def smoothim(fim, fwhm=4, fout=""):
4242
"""
4343
imd = nii.getnii(fim, output="all")
4444
imsmo = ndi.filters.gaussian_filter(
45-
imd["im"], fwhm2sig(fwhm, voxsize=imd["voxsize"]), mode="mirror"
45+
imd["im"], fwhm2sig(fwhm, voxsize=imd["voxsize"]), mode="constant"
4646
)
4747
if not fout:
4848
f = nii.file_parts(fim)

0 commit comments

Comments
 (0)