diff --git a/doc/source/nifti_images.rst b/doc/source/nifti_images.rst index 2f8a7cd0db..5bf423571c 100644 --- a/doc/source/nifti_images.rst +++ b/doc/source/nifti_images.rst @@ -239,7 +239,7 @@ You can get the affine and the code using the ``coded=True`` argument to [ 0. , 0.32, 2.17, -7.25], [ 0. , 0. , 0. , 1. ]]), array(1, dtype=int16)) -You can set the sform with with the ``get_sform()`` method of the header and +You can set the sform with the ``set_sform()`` method of the header and the image. >>> n1_header.set_sform(np.diag([2, 3, 4, 1]))