Aah ill refactor this a bit tomorrow.. its been a while since I have
modified it.. im trying to move over all my random nipype tweaks to a dev
vranch and start trying to contribute back to the project
On Mar 3, 2013 8:40 PM, "Satrajit Ghosh" <notifications@github.com> wrote:

> In nipype/interfaces/nibabel/nii_image_info.py:
>
> > @@ -0,0 +1,32 @@
> > +# Work in Progress
> > +# TO DO- Check if 4D files have any issues, may also want to return other fields
> > +
> > +def get_nii_image_info(nifti_input_file):
> > +	"""This module will scan an NII file and return a dictionary with the matrix size as well as the
> > +	x,y and z voxel size in mm"""
> > +	import nibabel as nib
> > +	img = nib.load(nifti_input_file)
> > +	
> > +	img_shape =  img.get_shape()
>
> you can use img.shape
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/nipype/pull/528/files#r3219212>
> .
>