Skip to content

Commit 8b4b423

Browse files
committed
Add hidden DOF options for BBRegister
1 parent d387481 commit 8b4b423

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,10 @@ class BBRegisterInputSpec(FSTraitedSpec):
10281028
desc="force use of nifti rather than analyze with SPM")
10291029
epi_mask = traits.Bool(argstr="--epi-mask",
10301030
desc="mask out B0 regions in stages 1 and 2")
1031+
dof = traits.Enum(6, 9, 12, argstr='--%d',
1032+
desc='number of transform degrees of freedom')
1033+
fsldof = traits.Int(argstr='--fsl-dof %d',
1034+
desc='degrees of freedom for initial registration (FSL)')
10311035
out_fsl_file = traits.Either(traits.Bool, File, argstr="--fslmat %s",
10321036
desc="write the transformation matrix in FSL FLIRT format")
10331037
registered_file = traits.Either(traits.Bool, File, argstr='--o %s',
@@ -1054,9 +1058,8 @@ class BBRegister(FSCommand):
10541058
"""Use FreeSurfer bbregister to register a volume to the Freesurfer anatomical.
10551059
10561060
This program performs within-subject, cross-modal registration using a
1057-
boundary-based cost function. The registration is constrained to be 6
1058-
DOF (rigid). It is required that you have an anatomical scan of the
1059-
subject that has already been recon-all-ed using freesurfer.
1061+
boundary-based cost function. It is required that you have an anatomical
1062+
scan of the subject that has already been recon-all-ed using freesurfer.
10601063
10611064
Examples
10621065
--------

0 commit comments

Comments
 (0)