Skip to content

Commit c2807b2

Browse files
committed
add xyz scale to AFNI refit
1 parent 8ce4b9b commit c2807b2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nipype/interfaces/afni/tests/test_auto_Refit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ def test_Refit_inputs():
4242
),
4343
xorigin=dict(argstr='-xorigin %s',
4444
),
45+
xyzscale=dict(argstr='-xyzscale %f',
46+
),
4547
ydel=dict(argstr='-ydel %f',
4648
),
4749
yorigin=dict(argstr='-yorigin %s',

nipype/interfaces/afni/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,6 +1821,9 @@ class RefitInputSpec(CommandLineInputSpec):
18211821
zdel = traits.Float(
18221822
desc='new z voxel dimension in mm',
18231823
argstr='-zdel %f')
1824+
xyzscale = traits.Float(
1825+
desc='Scale the size of the dataset voxels by the given factor',
1826+
argstr='-xyzscale %f')
18241827
space = traits.Enum(
18251828
'TLRC', 'MNI', 'ORIG',
18261829
argstr='-space %s',

0 commit comments

Comments
 (0)