Skip to content
Snippets Groups Projects
Commit 6fb27740 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Doc fixes

parent 7ffb8498
No related branches found
No related tags found
No related merge requests found
:orphan:
fsl.utils.weakfuncref module
============================
.. automodule:: fsl.utils.weakfuncref
:members:
:undoc-members:
:show-inheritance:
......@@ -48,7 +48,7 @@ class TriangleMesh(object):
``dataSource`` Full path to the mesh file (or ``None`` if there is
no file associated with this mesh).
``vertices`` A :math:`N\times 3` ``numpy `` array containing
``vertices`` A :math:`N\times 3` ``numpy`` array containing
the vertices.
``indices`` A :meth:`M\times 3` ``numpy`` array containing
......
......@@ -14,7 +14,7 @@ spaces. The following functions are provided:
scaleOffsetXform
invert
concat
compse
compose
decompose
rotMatToAxisAngles
axisAnglesToRotMat
......@@ -417,18 +417,18 @@ def flirtMatrixToSform(flirtMat, srcImage, refImage):
def sformToFlirtMatrix(srcImage, refImage, srcXform=None):
"""Under the assumption that the given ``srcImage`` and ``refImage``
share a common world coordinate system (defined by their
:attr:`voxToWorldMat` attributes), this function will calculate and
"""Under the assumption that the given ``srcImage`` and ``refImage`` share a
common world coordinate system (defined by their
:attr:`.Nifti.voxToWorldMat` attributes), this function will calculate and
return a transformation matrix from the ``srcImage`` scaled voxel
coordinate system to the ``refImage`` scaled voxel coordinate system,
that can be saved to disk and used with FLIRT, to resample the source
image to the reference image.
coordinate system to the ``refImage`` scaled voxel coordinate system, that
can be saved to disk and used with FLIRT, to resample the source image to
the reference image.
:arg srcImage: Source :class:`.Image`
:arg refImage: Reference :class:`.Image`
:arg srcXform: Optionally used in place of the ``scrImage``
:attr:`.voxToWorldMat`
:attr:`.Nifti.voxToWorldMat`
"""
srcScaledVoxelsToVoxelsMat = invert(srcImage.voxelsToScaledVoxels())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment