Skip to content

Commit 9da0851

Browse files
authored
Merge pull request #2296 from salma1601/afni_unifize_rbt
Afni unifize rbt
2 parents 52c03c4 + d1b65be commit 9da0851

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

nipype/interfaces/afni/tests/test_auto_Unifize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def test_Unifize_inputs():
3232
name_source='in_file',
3333
),
3434
outputtype=dict(),
35+
rbt=dict(argstr='-rbt %f %f %f',
36+
),
3537
scale_file=dict(argstr='-ssave %s',
3638
),
3739
t2=dict(argstr='-T2',

nipype/interfaces/afni/utils.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,6 +2329,14 @@ class UnifizeInputSpec(AFNICommandInputSpec):
23292329
argstr='-EPI',
23302330
requires=['no_duplo', 't2'],
23312331
xor=['gm'])
2332+
rbt = traits.Tuple(
2333+
traits.Float(), traits.Float(), traits.Float(),
2334+
desc='Option for AFNI experts only.'
2335+
'Specify the 3 parameters for the algorithm:\n'
2336+
'R = radius; same as given by option \'-Urad\', [default=18.3]\n'
2337+
'b = bottom percentile of normalizing data range, [default=70.0]\n'
2338+
'r = top percentile of normalizing data range, [default=80.0]\n',
2339+
argstr='-rbt %f %f %f')
23322340

23332341

23342342
class UnifizeOutputSpec(TraitedSpec):

0 commit comments

Comments
 (0)