File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,13 @@ class DWI2TensorInputSpec(CommandLineInputSpec):
217
217
"specified when computing the tensor."
218
218
),
219
219
)
220
+ mask = File (
221
+ exists = True ,
222
+ argstr = "-mask %s" ,
223
+ desc = (
224
+ "Only perform computation within the specified binary brain mask image."
225
+ ),
226
+ )
220
227
quiet = traits .Bool (
221
228
argstr = "-quiet" ,
222
229
position = 1 ,
@@ -865,6 +872,17 @@ class MRTransformInputSpec(CommandLineInputSpec):
865
872
position = 1 ,
866
873
desc = "Invert the specified transform before using it" ,
867
874
)
875
+ linear_transform = File (
876
+ exists = True ,
877
+ argstr = "-linear %s" ,
878
+ position = 1 ,
879
+ desc = (
880
+ "Specify a linear transform to apply, in the form of a 3x4 or 4x4 ascii file. "
881
+ "Note the standard reverse convention is used, "
882
+ "where the transform maps points in the template image to the moving image. "
883
+ "Note that the reverse convention is still assumed even if no -template image is supplied."
884
+ ),
885
+ )
868
886
replace_transform = traits .Bool (
869
887
argstr = "-replace" ,
870
888
position = 1 ,
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ def test_DWI2Tensor_inputs():
35
35
mandatory = True ,
36
36
position = - 2 ,
37
37
),
38
+ mask = dict (
39
+ argstr = "-mask %s" ,
40
+ extensions = None ,
41
+ ),
38
42
out_filename = dict (
39
43
argstr = "%s" ,
40
44
extensions = None ,
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ def test_MRTransform_inputs():
28
28
argstr = "-inverse" ,
29
29
position = 1 ,
30
30
),
31
+ linear_transform = dict (
32
+ argstr = "-linear %s" ,
33
+ extensions = None ,
34
+ position = 1 ,
35
+ ),
31
36
out_filename = dict (
32
37
argstr = "%s" ,
33
38
extensions = None ,
You can’t perform that action at this time.
0 commit comments