Skip to content

Commit 3d492a6

Browse files
authored
Merge pull request #580 from justbennet/typo/nifti_images_doc
set sform with set_sform not get_sform
2 parents 084dd1c + 93cc592 commit 3d492a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/nifti_images.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ You can get the affine and the code using the ``coded=True`` argument to
239239
[ 0. , 0.32, 2.17, -7.25],
240240
[ 0. , 0. , 0. , 1. ]]), array(1, dtype=int16))
241241

242-
You can set the sform with with the ``get_sform()`` method of the header and
242+
You can set the sform with the ``set_sform()`` method of the header and
243243
the image.
244244

245245
>>> n1_header.set_sform(np.diag([2, 3, 4, 1]))

0 commit comments

Comments
 (0)