Skip to content

Commit a38def5

Browse files
committed
Merge pull request #1194 from miykael/gh-master/master
FIX: add TR, TE and TI flag to FreeSurfer's MRIConvert
2 parents 72a2f71 + fa2793b commit a38def5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ class MRIConvertInputSpec(FSTraitedSpec):
212212
desc='dont rescale values for COR')
213213
no_change = traits.Bool(argstr='--nochange',
214214
desc="don't change type of input to that of template")
215+
tr = traits.Int(argstr='-tr %d',
216+
desc='TR in msec')
217+
te = traits.Int(argstr='-te %d',
218+
desc='TE in msec')
219+
ti = traits.Int(argstr='-ti %d',
220+
desc='TI in msec (note upper case flag)')
215221
autoalign_matrix = File(exists=True, argstr='--autoalign %s',
216222
desc='text file with autoalign matrix')
217223
unwarp_gradient = traits.Bool(argstr='--unwarp_gradient_nonlinearity',

0 commit comments

Comments
 (0)