[Nipy-devel] [nibabel] 3d files to 4d array and other operations

Matthew Brett matthew.brett@gmail....
Wed Jan 13 11:47:47 CST 2010


> i tripped when i tried the following and then wrote my superfluous script
> (and then my reinventing-the-wheel neuron made me send the email):
> nim = nibabel.load('/func/run_001/vol*.nii')
> or
> nim = nibabel.load(glob('/func/run_001/vol*.nii'))

Yes, load only takes a single filename....

See you,


More information about the Nipy-devel mailing list