@@ -95,14 +95,22 @@ def create_fsl_fnirt_nonlinear_reg(name='fsl_fnirt_nonlinear_reg'):
95
95
2. Invert the affine transformation to provide the user a transformation (affine only) from the
96
96
space of the reference file to the input file.
97
97
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
+
98
106
Workflow Graph:
99
107
100
- .. image:: ../images/nonlinear_register.dot .png
108
+ .. image:: ../../ images/generated/ nonlinear_register.png
101
109
:width: 500
102
110
103
111
Detailed Workflow Graph:
104
112
105
- .. image:: ../images/nonlinear_register_detailed.dot .png
113
+ .. image:: ../../ images/generated/ nonlinear_register_detailed.png
106
114
:width: 500
107
115
108
116
"""
@@ -212,14 +220,22 @@ def create_register_func_to_mni(name='register_func_to_mni'):
212
220
outputspec.mni_func : string (nifti file)
213
221
Functional scan registered to MNI standard space
214
222
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
+
215
231
Workflow Graph:
216
232
217
- .. image:: ../images/register_func_to_mni.dot .png
233
+ .. image:: ../../ images/generated/ register_func_to_mni.png
218
234
:width: 500
219
235
220
236
Detailed Workflow Graph:
221
237
222
- .. image:: ../images/register_func_to_mni_detailed.dot .png
238
+ .. image:: ../../ images/generated/ register_func_to_mni_detailed.png
223
239
:width: 500
224
240
"""
225
241
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
769
785
770
786
1. Calculates a nonlinear anatomical-to-template registration.
771
787
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
+
772
796
Workflow Graph:
773
797
774
- .. image::
798
+ .. image:: ../../images/generated/calculate_ants_warp.png
775
799
:width: 500
776
800
777
801
Detailed Workflow Graph:
778
802
779
- .. image::
803
+ .. image:: ../../images/generated/calculate_ants_warp_detailed.png
780
804
:width: 500
781
805
'''
782
806
0 commit comments