Skip to content

Commit 31dea62

Browse files
committed
added available inputs for 5ttgen
1 parent 4d1352a commit 31dea62

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

nipype/interfaces/mrtrix3/utils.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,50 @@ class Generate5ttInputSpec(MRTrix3BaseInputSpec):
240240
desc="input image / directory",
241241
)
242242
out_file = File(argstr="%s", mandatory=True, position=-1, desc="output image")
243+
t2_image = File(
244+
exists=True,
245+
argstr="-t2 %s",
246+
desc="Provide a T2-weighted image in addition to the default T1-weighted image. (Only for 'fsl' algorithm)",
247+
)
248+
mask_file = File(
249+
exists=True,
250+
argstr="-mask %s",
251+
desc="Provide a brain mask image. (Only for 'fsl' algorithm)",
252+
)
253+
premasked = traits.Bool(
254+
argstr="-premasked",
255+
desc="Assume that the input image is already brain-masked. (Only for 'fsl' algorithm)",
256+
)
257+
nocrop = traits.Bool(
258+
argstr="-nocrop",
259+
desc="Do not crop the image to the region of interest.",
260+
)
261+
sgm_amyg_hipp = traits.Bool(
262+
argstr="-sgm_amyg_hipp",
263+
desc="Include the amygdala and hippocampus in the subcortical grey matter segment.",
264+
)
265+
template = File(
266+
exists=True,
267+
argstr="-template %s",
268+
desc="Provide an image that will form the template for the generated 5TT image. (Only for 'hsvs' algorithm)",
269+
)
270+
hippocampi = traits.Enum(
271+
"subfields",
272+
"first",
273+
"aseg",
274+
argstr="-hippocampi %s",
275+
desc="Choose the method used to segment the hippocampi. (Only for 'freesurfer' algorithm)",
276+
usedefault=False,
277+
)
278+
white_stem = traits.Bool(
279+
argstr="-white_stem",
280+
desc="Classify the brainstem as white matter. (Only for 'hsvs' algorithm)",
281+
)
282+
lut_file = File(
283+
exists=True,
284+
argstr="-lut %s",
285+
desc="Manually provide path to the lookup table on which the input parcellation image is based. (Only for 'freesurfer' algorithm)",
286+
)
243287

244288

245289
class Generate5ttOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)