You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I recognize the issues involved with spatial slicing of SpatialImages, but a pretty handy thing to be able to do would be: img[...,slicer].orthoview()
Almost always I'm loading the file on the spot, so really it's: nib.load(fname)[...,slicer].orthoview()
Being a one-liner from filename to display is the real beauty of this, but the options are:
RE: #271 and #404
So, I recognize the issues involved with spatial slicing of
SpatialImages
, but a pretty handy thing to be able to do would be:img[...,slicer].orthoview()
Almost always I'm loading the file on the spot, so really it's:
nib.load(fname)[...,slicer].orthoview()
Being a one-liner from filename to display is the real beauty of this, but the options are:
Would it be acceptable to modify
SpatialImage.__getitem__
to accept a time slice and return aSpatialImage
, but reject spatial slices?The text was updated successfully, but these errors were encountered: