@@ -95,14 +95,22 @@ def create_fsl_fnirt_nonlinear_reg(name='fsl_fnirt_nonlinear_reg'):
9595 2. Invert the affine transformation to provide the user a transformation (affine only) from the
9696 space of the reference file to the input file.
9797
98+ .. exec::
99+ from CPAC.registration import create_fsl_fnirt_nonlinear_reg
100+ wf = create_fsl_fnirt_nonlinear_reg()
101+ wf.write_graph(
102+ graph2use='orig',
103+ dotfilename='./images/generated/nonlinear_register.dot'
104+ )
105+
98106 Workflow Graph:
99107
100- .. image:: ../images/nonlinear_register.dot .png
108+ .. image:: ../../ images/generated/ nonlinear_register.png
101109 :width: 500
102110
103111 Detailed Workflow Graph:
104112
105- .. image:: ../images/nonlinear_register_detailed.dot .png
113+ .. image:: ../../ images/generated/ nonlinear_register_detailed.png
106114 :width: 500
107115
108116 """
@@ -212,14 +220,22 @@ def create_register_func_to_mni(name='register_func_to_mni'):
212220 outputspec.mni_func : string (nifti file)
213221 Functional scan registered to MNI standard space
214222
223+ .. exec::
224+ from CPAC.registration import create_register_func_to_mni
225+ wf = create_register_func_to_mni()
226+ wf.write_graph(
227+ graph2use='orig',
228+ dotfilename='./images/generated/register_func_to_mni.dot'
229+ )
230+
215231 Workflow Graph:
216232
217- .. image:: ../images/register_func_to_mni.dot .png
233+ .. image:: ../../ images/generated/ register_func_to_mni.png
218234 :width: 500
219235
220236 Detailed Workflow Graph:
221237
222- .. image:: ../images/register_func_to_mni_detailed.dot .png
238+ .. image:: ../../ images/generated/ register_func_to_mni_detailed.png
223239 :width: 500
224240 """
225241 register_func_to_mni = pe .Workflow (name = name )
@@ -769,14 +785,22 @@ def create_wf_calculate_ants_warp(name='create_wf_calculate_ants_warp', num_thre
769785
770786 1. Calculates a nonlinear anatomical-to-template registration.
771787
788+ .. exec::
789+ from CPAC.registration import create_wf_calculate_ants_warp
790+ wf = create_wf_calculate_ants_warp()
791+ wf.write_graph(
792+ graph2use='orig',
793+ dotfilename='./images/generated/calculate_ants_warp.dot'
794+ )
795+
772796 Workflow Graph:
773797
774- .. image::
798+ .. image:: ../../images/generated/calculate_ants_warp.png
775799 :width: 500
776800
777801 Detailed Workflow Graph:
778802
779- .. image::
803+ .. image:: ../../images/generated/calculate_ants_warp_detailed.png
780804 :width: 500
781805 '''
782806
0 commit comments