@@ -1608,15 +1608,15 @@ class Localstat(AFNICommand):
16081608
16091609 >>> from nipype.interfaces import afni
16101610 >>> 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'
16131613 >>> localstat.inputs.neighborhood = ('SPHERE', 45)
16141614 >>> localstat.inputs.stat = 'mean'
16151615 >>> localstat.inputs.nonmask = True
16161616 >>> localstat.inputs.outputtype = 'NIFTI_GZ'
16171617 >>> 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
16201620
16211621 """
16221622 _cmd = '3dLocalstat'
@@ -2312,7 +2312,7 @@ class ReHoInputSpec(CommandLineInputSpec):
23122312 desc = 'Output dataset.' ,
23132313 argstr = '-prefix %s' ,
23142314 name_source = 'in_file' ,
2315- name_template = '%s_localstat ' ,
2315+ name_template = '%s_reho ' ,
23162316 keep_extension = True ,
23172317 position = 0 )
23182318 chi_sq = traits .Bool (
@@ -2390,12 +2390,12 @@ class ReHo(AFNICommandBase):
23902390
23912391 >>> from nipype.interfaces import afni
23922392 >>> 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'
23942395 >>> reho.inputs.neighborhood = 'vertices'
2395- >>> reho.inputs.label_set = 'power264.nii.gz'
23962396 >>> 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
23992399
24002400 """
24012401 _cmd = '3dReHo'
0 commit comments