Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michiel Cottaar
fslpy
Commits
0690befb
Commit
0690befb
authored
Mar 04, 2018
by
Paul McCarthy
🚵
Browse files
Documentation bugfixes
parent
6926d57f
Changes
6
Show whitespace changes
Inline
Side-by-side
fsl/data/dicom.py
View file @
0690befb
...
...
@@ -18,10 +18,10 @@ wrappers around functionality provided by Chris Rorden's ``dcm2niix`` program:
scanDir
loadSeries
See: https://github.com/rordenlab/dcm2niix/
.. note:: These functions will not work if an executable called ``dcm2niix``
cannot be found.
.. see:: https://github.com/rordenlab/dcm2niix/
"""
...
...
fsl/data/mesh.py
View file @
0690befb
...
...
@@ -129,7 +129,7 @@ class Mesh(notifier.Notifier, meta.Meta):
selected vertex set.
**Metadata*
**Metadata*
*
The ``Mesh`` class also inherits from the :class:`Meta` class, so
...
...
@@ -625,13 +625,14 @@ class Mesh(notifier.Notifier, meta.Meta):
triangle vertices.
:returns: A tuple containing
- A ``(m, 2, 3)`` array containing ``m`` vertices:
of a set of lines, defining the plane intersection
- A ``(m,)`` array containing the indices of the
``m`` triangles that were intersected.
- (if ``distances is True``) A ``(m, 2, 3)`` arra
- (if ``distances is True``) A ``(m, 2, 3)`` arra
y
containing the barycentric coordinates of each
line vertex with respect to its intersected
triangle.
...
...
fsl/data/mghimage.py
View file @
0690befb
...
...
@@ -32,9 +32,9 @@ class MGHImage(fslimage.Image):
"""The ``MGHImage`` class is a NIFTI :class:`Image` which has been converted
from a Freesurfer ``.mgh`` file.
.. see:: https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat
.. see::
http://nipy.org/nibabel/reference/nibabel.freesurfer.html
See:
- https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/MghFormat
-
http://nipy.org/nibabel/reference/nibabel.freesurfer.html
"""
def
__init__
(
self
,
image
,
*
args
,
**
kwargs
):
...
...
fsl/data/vtk.py
View file @
0690befb
...
...
@@ -12,7 +12,7 @@ A handful of convenience functions are also in this module:
.. autosummary::
:nosignatures:
loadVTKPoly
D
ataFile
loadVTKPoly
d
ataFile
getFIRSTPrefix
findReferenceImage
...
...
fsl/utils/tempdir.py
View file @
0690befb
...
...
@@ -8,7 +8,7 @@
directories. It currently only contains one function:
.. autosummary::
:nosignature:
:nosignature
s
:
tempdir
"""
...
...
fsl/wrappers/melodic.py
View file @
0690befb
...
...
@@ -5,8 +5,8 @@
# Author: Sean Fitzgibbon <sean.fitzgibbon@ndcn.ox.ac.uk>
# Author: Paul McCarthy <pauldmccarthy@gmail.com>
#
"""This module provides wrapper functions for the FSL
`MELODIC
<https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/MELODIC>`_ tool, and other
"""This module provides wrapper functions for the FSL
`MELODIC
<https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/MELODIC>`_ tool, and other
related utilities.
.. autosummary::
...
...
@@ -25,7 +25,7 @@ from . import wrapperutils as wutils
@
wutils
.
fileOrImage
(
'input'
,
'mask'
,
'ICs'
,
'bgimage'
)
@
wutils
.
fslwrapper
def
melodic
(
input
,
**
kwargs
):
"""
Multivariate Exploratory Linear Optimised ICA
."""
"""
Wrapper for the ``melodic`` command
."""
valmap
=
{
'Oall'
:
wutils
.
SHOW_IF_TRUE
,
...
...
@@ -62,7 +62,7 @@ def melodic(input, **kwargs):
@
wutils
.
fileOrArray
(
'design'
,
'out_mix'
)
@
wutils
.
fslwrapper
def
fsl_regfilt
(
input
,
out
,
design
,
**
kwargs
):
"""Wrapper for the ``fsl_regfilt``command. """
"""Wrapper for the ``fsl_regfilt``
command. """
asrt
.
assertIsNifti
(
input
,
out
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment