Skip to content
Snippets Groups Projects
Commit c383e2d3 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

DOC: fslstats example

parent cfe91952
No related branches found
No related tags found
No related merge requests found
......@@ -40,9 +40,12 @@ the :func:`.bet` function uses ``mask`` instead of ``m``).
Two exceptions to the above are :class:`.fslmaths` and :class:`.fslstats`,
which provide a more object-oriented interface::
from fsl.wrappers import fslmaths
from fsl.wrappers import fslmaths, fslstats
fslmaths('image.nii').mas('mask.nii').bin().run('output.nii')
imean, imin, imax = fslstats('image.nii').k('mask.nii').m.R.run()
Wrapper functions for commands which accept NIfTI image or numeric text files
will for the most part accept either in-memory ``nibabel`` images/Numpy arrays
......
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