Commit 56854d18 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

ENH: add -roi flag to fslmaths wrapper

parent 0f917661
......@@ -173,6 +173,13 @@ class fslmaths(object):
return self
def roi(self, xmin, xsize, ymin, ysize, zmin, zsize, tmin=0, tsize=-1):
"""Zero outside ROI (using voxel coordinates). """
xmin, xsize, ymin, ysize,
zmin, zsize, tmin, tsize))
return self
def run(self, output=None):
"""Save output of operations to image. Set ``output`` to a filename to have
the result saved to file, or omit ``output`` entirely to have the
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment