File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -442,20 +442,23 @@ class MRICoreg(FSCommand):
442
442
443
443
If passing a subject ID, the reference mask may be disabled:
444
444
445
+ >>> coreg = MRICoreg()
446
+ >>> coreg.inputs.source_file = 'moving1.nii'
447
+ >>> coreg.inputs.subjects_dir = '.'
445
448
>>> coreg.inputs.subject_id = 'fsaverage'
446
449
>>> coreg.inputs.reference_mask = False
447
450
>>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
448
- 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii -- mov moving1.nii --sd .'
451
+ 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --mov moving1.nii --sd .'
449
452
450
453
Spatial scales may be specified as a list of one or two separations:
451
454
452
455
>>> coreg.inputs.sep = [4]
453
456
>>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
454
- 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii -- sep 4 --mov moving1.nii --sd .'
457
+ 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --sep 4 --mov moving1.nii --sd .'
455
458
456
459
>>> coreg.inputs.sep = [4, 5]
457
460
>>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
458
- 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii -- sep 4 --sep 5 --mov moving1.nii --sd .'
461
+ 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --sep 4 --sep 5 --mov moving1.nii --sd .'
459
462
"""
460
463
461
464
_cmd = 'mri_coreg'
You can’t perform that action at this time.
0 commit comments