We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9c015 commit e4ea798Copy full SHA for e4ea798
dmriprep/utils/images.py
@@ -50,7 +50,7 @@ def median(in_file, newpath=None):
50
nb.squeeze_image(img).to_filename(out_file)
51
return out_file
52
53
- median_data = np.median(img.get_fdata(dtype="float32"), axis=-1)
+ median_data = np.median(img.get_fdata(), axis=-1)
54
55
hdr = img.header.copy()
56
hdr.set_xyzt_units("mm")
0 commit comments