@@ -372,7 +372,8 @@ class MRICoregInputSpec(FSTraitedSpec):
372
372
desc = 'turn off coordinate dithering' )
373
373
no_intensity_dithering = traits .Bool (argstr = '--no-intensity-dither' ,
374
374
desc = 'turn off intensity dithering' )
375
- # Skipping: --sep
375
+ sep = traits .List (argstr = '--sep %s...' , minlen = 1 , maxlen = 2 ,
376
+ desc = 'set spatial scales, in voxels (default [2, 4])' )
376
377
initial_translation = traits .Tuple (
377
378
traits .Float , traits .Float , traits .Float , argstr = '--trans %g %g %g' ,
378
379
desc = 'initial translation in mm (implies no_cras0)' )
@@ -444,6 +445,16 @@ class MRICoreg(FSCommand):
444
445
>>> coreg.inputs.reference_mask = False
445
446
>>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
446
447
'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii --mov moving1.nii --sd .'
448
+
449
+ Spatial scales may be specified as a list of one or two separations:
450
+
451
+ >>> coreg.inputs.sep = [4]
452
+ >>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
453
+ 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii --sep 4 --mov moving1.nii --sd .'
454
+
455
+ >>> coreg.inputs.sep = [4, 5]
456
+ >>> coreg.cmdline # doctest: +ALLOW_UNICODE +ELLIPSIS
457
+ 'mri_coreg --s fsaverage --no-ref-mask --lta .../registration.lta --ref fixed1.nii --sep 4 --sep 5 --mov moving1.nii --sd .'
447
458
"""
448
459
449
460
_cmd = 'mri_coreg'
0 commit comments