@@ -1608,15 +1608,15 @@ class Localstat(AFNICommand):
1608
1608
1609
1609
>>> from nipype.interfaces import afni
1610
1610
>>> localstat = afni.Localstat()
1611
- >>> localstat.inputs.in_file = 'bold .nii.gz '
1612
- >>> localstat.inputs.mask_file = 'label-WM_desc-eroded_roi .nii.gz'
1611
+ >>> localstat.inputs.in_file = 'functional .nii'
1612
+ >>> localstat.inputs.mask_file = 'skeleton_mask .nii.gz'
1613
1613
>>> localstat.inputs.neighborhood = ('SPHERE', 45)
1614
1614
>>> localstat.inputs.stat = 'mean'
1615
1615
>>> localstat.inputs.nonmask = True
1616
1616
>>> localstat.inputs.outputtype = 'NIFTI_GZ'
1617
1617
>>> localstat.cmdline
1618
- "3dLocalstat -prefix bold_localstat .nii.gz -mask label-WM_desc-eroded_roi .nii.gz -nbhd 'SPHERE(45.0)' -use_nonmask -stat mean bold .nii.gz "
1619
- >>> wmlocal = localstat.run() # doctest: +SKIP
1618
+ "3dLocalstat -prefix functional_localstat .nii -mask skeleton_mask .nii.gz -nbhd 'SPHERE(45.0)' -use_nonmask -stat mean functional .nii"
1619
+ >>> res = localstat.run() # doctest: +SKIP
1620
1620
1621
1621
"""
1622
1622
_cmd = '3dLocalstat'
@@ -2312,7 +2312,7 @@ class ReHoInputSpec(CommandLineInputSpec):
2312
2312
desc = 'Output dataset.' ,
2313
2313
argstr = '-prefix %s' ,
2314
2314
name_source = 'in_file' ,
2315
- name_template = '%s_localstat ' ,
2315
+ name_template = '%s_reho ' ,
2316
2316
keep_extension = True ,
2317
2317
position = 0 )
2318
2318
chi_sq = traits .Bool (
@@ -2390,12 +2390,12 @@ class ReHo(AFNICommandBase):
2390
2390
2391
2391
>>> from nipype.interfaces import afni
2392
2392
>>> reho = afni.ReHo()
2393
- >>> reho.inputs.in_file = 'bold.nii.gz'
2393
+ >>> reho.inputs.in_file = 'functional.nii'
2394
+ >>> reho.inputs.out_file = 'reho.nii.gz'
2394
2395
>>> reho.inputs.neighborhood = 'vertices'
2395
- >>> reho.inputs.label_set = 'power264.nii.gz'
2396
2396
>>> reho.cmdline
2397
- "3dReHo -prefix bold_reho .nii.gz -nneigh 27 -in_rois power264.nii.gz "
2398
- >>> rh = reho.run() # doctest: +SKIP
2397
+ "3dReHo -prefix reho .nii.gz -inset functional.nii -nneigh 27 "
2398
+ >>> res = reho.run() # doctest: +SKIP
2399
2399
2400
2400
"""
2401
2401
_cmd = '3dReHo'
0 commit comments