@@ -73,16 +73,16 @@ class ExtractAdditionalSurfaceParameters(SPMCommand):
7373
7474 Examples
7575 --------
76- # Set the left surface files, both will be processed
77- lh_path_central = ...
78-
79- # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in
80- # a Node
81- surf_files = [ rh.sphere..., lh.sphere..., etc]
82-
83- extract_additional_measures = ExtractAdditionalSurfaceParameters(left_central_surfaces=lh_path_central,
84- surface_files=surf_files)
85- extract_additional_measures.run()
76+ >>> # Set the left surface files, both will be processed
77+ >>> lh_path_central = 'lh.central.subject_filename.gii'
78+ >>> # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in
79+ >>> surf_files = ["lh.sphere.reg.subject_filename.gii", "rh.sphere.reg.subject_filename.gii", \
80+ "lh.sphere.subject_filename.gii", "rh.sphere.subject_filename.gii", \
81+ ' rh.central.subject_filename.gii', \
82+ 'lh.pbt.subject_filename', 'rh.pbt.subject_filename']
83+ >>> extract_additional_measures = ExtractAdditionalSurfaceParameters(left_central_surfaces=lh_path_central, \
84+ surface_files=surf_files)
85+ >>> extract_additional_measures.run() # doctest: +SKIP
8686
8787 """
8888 input_spec = ExtractAdditionalSurfaceParametersInputSpec
@@ -164,22 +164,23 @@ class ExtractROIBasedSurfaceMeasures(SPMCommand):
164164
165165 Examples
166166 --------
167- # Template surface files
168- lh_atlas = sys.argv[2]
169- rh_atlas = sys.argv[3]
170-
171- # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in
172- # a Node
173- surf_files = [rh.sphere..., lh.sphere..., etc]
174-
167+ >>> # Template surface files
168+ >>> lh_atlas = "lh.aparc_a2009s.freesurfer.annot"
169+ >>> rh_atlas = "rh.aparc_a2009s.freesurfer.annot"
170+
171+ >>> # Put here all surface files generated by CAT12 Segment, this is only required if the this approach is putted in a Node
172+ >>> surf_files = ["lh.sphere.reg.subject_filename.gii", "rh.sphere.reg.subject_filename.gii", \
173+ "lh.sphere.subject_filename.gii", "rh.sphere.subject_filename.gii", \
174+ 'lh.central.subject_filename.gii', 'rh.central.subject_filename.gii', \
175+ 'lh.pbt.subject_filename', 'rh.pbt.subject_filename']
175176 # Set the path to the left hemisphere measure file, both will be processed
176- lh_measure = ....
177+ >>> lh_measure = "lh.area.subject_filename"
177178
178- extract_additional_measures = ExtractROIBasedSurfaceMeasures(surface_files=surf_files,
179- lh_surface_measure=lh_measure,
180- lh_roi_atlas=lh_atlas,
179+ >>> extract_additional_measures = ExtractROIBasedSurfaceMeasures(surface_files=surf_files, \
180+ lh_surface_measure=lh_measure, \
181+ lh_roi_atlas=lh_atlas, \
181182 rh_roi_atlas=rh_atlas)
182- extract_additional_measures.run()
183+ >>> extract_additional_measures.run() # doctest: +SKIP
183184
184185
185186 """
0 commit comments