@@ -30,6 +30,18 @@ def all_fmb_pipeline(name='hmc_sdc_ecc',
30
30
[Leemans09]_.
31
31
32
32
33
+ Examples
34
+ --------
35
+
36
+ >>> from nipype.workflows.dmri.fsl.artifacts import all_fmb_pipeline
37
+ >>> allcorr = all_fmb_pipeline()
38
+ >>> allcorr.inputs.inputnode.in_file = 'epi.nii'
39
+ >>> allcorr.inputs.inputnode.in_bval = 'diffusion.bval'
40
+ >>> allcorr.inputs.inputnode.in_bvec = 'diffusion.bvec'
41
+ >>> allcorr.inputs.inputnode.bmap_mag = 'magnitude.nii'
42
+ >>> allcorr.inputs.inputnode.bmap_pha = 'phase.nii'
43
+ >>> allcorr.run() # doctest: +SKIP
44
+
33
45
"""
34
46
inputnode = pe .Node (niu .IdentityInterface (fields = ['in_file' , 'in_bvec' ,
35
47
'in_bval' , 'bmap_pha' , 'bmap_mag' ]), name = 'inputnode' )
@@ -105,6 +117,17 @@ def all_peb_pipeline(name='hmc_sdc_ecc',
105
117
[Leemans09]_.
106
118
107
119
120
+ Examples
121
+ --------
122
+
123
+ >>> from nipype.workflows.dmri.fsl.artifacts import all_peb_pipeline
124
+ >>> allcorr = all_peb_pipeline()
125
+ >>> allcorr.inputs.inputnode.in_file = 'epi.nii'
126
+ >>> allcorr.inputs.inputnode.alt_file = 'epi_rev.nii'
127
+ >>> allcorr.inputs.inputnode.in_bval = 'diffusion.bval'
128
+ >>> allcorr.inputs.inputnode.in_bvec = 'diffusion.bvec'
129
+ >>> allcorr.run() # doctest: +SKIP
130
+
108
131
"""
109
132
inputnode = pe .Node (niu .IdentityInterface (fields = ['in_file' , 'in_bvec' ,
110
133
'in_bval' , 'alt_file' ]), name = 'inputnode' )
@@ -285,7 +308,7 @@ def hmc_pipeline(name='motion_correct'):
285
308
Example
286
309
-------
287
310
288
- >>> from nipype.workflows.dmri.preprocess.epi import hmc_pipeline
311
+ >>> from nipype.workflows.dmri.fsl.artifacts import hmc_pipeline
289
312
>>> hmc = hmc_pipeline()
290
313
>>> hmc.inputs.inputnode.in_file = 'diffusion.nii'
291
314
>>> hmc.inputs.inputnode.in_bvec = 'diffusion.bvec'
@@ -394,7 +417,7 @@ def ecc_pipeline(name='eddy_correct'):
394
417
Example
395
418
-------
396
419
397
- >>> from nipype.workflows.dmri.preprocess.epi import ecc_pipeline
420
+ >>> from nipype.workflows.dmri.fsl.artifacts import ecc_pipeline
398
421
>>> ecc = ecc_pipeline()
399
422
>>> ecc.inputs.inputnode.in_file = 'diffusion.nii'
400
423
>>> ecc.inputs.inputnode.in_bval = 'diffusion.bval'
@@ -493,7 +516,7 @@ def sdc_fmb(name='fmb_correction',
493
516
Example
494
517
-------
495
518
496
- >>> from nipype.workflows.dmri.preprocess.epi import sdc_fmb
519
+ >>> from nipype.workflows.dmri.fsl.artifacts import sdc_fmb
497
520
>>> fmb = sdc_fmb()
498
521
>>> fmb.inputs.inputnode.in_file = 'diffusion.nii'
499
522
>>> fmb.inputs.inputnode.in_bval = 'diffusion.bval'
@@ -641,9 +664,10 @@ def sdc_peb(name='peb_correction',
641
664
Example
642
665
-------
643
666
644
- >>> from nipype.workflows.dmri.preprocess.epi import sdc_peb
667
+ >>> from nipype.workflows.dmri.fsl.artifacts import sdc_peb
645
668
>>> peb = sdc_peb()
646
- >>> peb.inputs.inputnode.in_file = 'diffusion.nii'
669
+ >>> peb.inputs.inputnode.in_file = 'epi.nii'
670
+ >>> peb.inputs.inputnode.alt_file = 'epi_rev.nii'
647
671
>>> peb.inputs.inputnode.in_bval = 'diffusion.bval'
648
672
>>> peb.inputs.inputnode.in_mask = 'mask.nii'
649
673
>>> peb.run() # doctest: +SKIP
0 commit comments