Skip to content

Commit

Permalink
fix smoothim
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jan 9, 2022
1 parent c7aa789 commit 161f2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spm12/regseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def smoothim(fim, fwhm=4, fout=""):
"""
imd = nii.getnii(fim, output="all")
imsmo = ndi.filters.gaussian_filter(
imd["im"], fwhm2sig(fwhm, voxsize=imd["voxsize"]), mode="mirror"
imd["im"], fwhm2sig(fwhm, voxsize=imd["voxsize"]), mode="constant"
)
if not fout:
f = nii.file_parts(fim)
Expand Down

0 comments on commit 161f2f6

Please sign in to comment.