Skip to content

Commit 4a13087

Browse files
committed
DOC: Minor spelling fixes and further unification of short description
1 parent 10d3701 commit 4a13087

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

nipype/interfaces/ants/registration.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ class ANTSInputSpec(ANTSCommandInputSpec):
7070
traits.Int(),
7171
requires=['metric'],
7272
mandatory=True,
73-
desc='radius of the region (i.e. number of layers'
74-
' around a voxel point)'
73+
desc='radius of the region (i.e. number of layers around a voxel/pixel)'
7574
' that is used for computing cross correlation')
7675

7776
output_transform_prefix = Str(
@@ -126,8 +125,7 @@ class ANTSOutputSpec(TraitedSpec):
126125

127126

128127
class ANTS(ANTSCommand):
129-
"""
130-
128+
"""ANTS command for registration of images (old, use Registration instead)
131129
132130
Examples
133131
--------
@@ -557,7 +555,8 @@ class RegistrationOutputSpec(TraitedSpec):
557555

558556

559557
class Registration(ANTSCommand):
560-
"""
558+
"""ANTs Registration command for registration of images
559+
561560
`antsRegistration <http://stnava.github.io/ANTs/>`_ registers a ``moving_image`` to a ``fixed_image``,
562561
using a predefined (sequence of) cost function(s) and transformation operations.
563562
The cost function is defined using one or more 'metrics', specifically
@@ -601,12 +600,12 @@ class Registration(ANTSCommand):
601600
Examples
602601
--------
603602
604-
Set up a Registation node with some default settings. This Node registers
603+
Set up a Registration node with some default settings. This Node registers
605604
'fixed1.nii' to 'moving1.nii' by first fitting a linear 'Affine' transformation, and
606605
then a non-linear 'SyN' transformation, both using the Mutual Information-cost
607606
metric.
608607
609-
The registration is initailized by first applying the (linear) transform
608+
The registration is initialized by first applying the (linear) transform
610609
trans.mat.
611610
612611
>>> import copy, pprint

0 commit comments

Comments
 (0)