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 6e2ab5d commit a0480efCopy full SHA for a0480ef
niworkflows/utils/timeseries.py
@@ -73,7 +73,7 @@ def _nifti_timeseries(
73
# Map segmentation
74
if remap_rois or lut is not None:
75
if lut is None:
76
- lut = np.zeros((256,), dtype="int")
+ lut = np.zeros((256,), dtype="uint8")
77
lut[100:201] = 1 # Ctx GM
78
lut[30:99] = 2 # dGM
79
lut[1:11] = 3 # WM+CSF
0 commit comments