Re: [Numpy-discussion] Loading large NIfTI file -> MemoryError

2014-01-03 Thread Matthew Brett
Hi, On Tue, Dec 31, 2013 at 1:29 PM, Julian Taylor wrote: > > On 31.12.2013 14:13, Amira Chekir wrote: > > Hello together, > > > > I try to load a (large) NIfTI file (DMRI from Human Connectome Project, > > about 1 GB) with NiBabel. > > > > import nibabel as nib > > img = nib.load("dmri.nii.gz")

Re: [Numpy-discussion] Loading large NIfTI file -> MemoryError

2013-12-31 Thread Julian Taylor
On 31.12.2013 14:13, Amira Chekir wrote: > Hello together, > > I try to load a (large) NIfTI file (DMRI from Human Connectome Project, > about 1 GB) with NiBabel. > > import nibabel as nib > img = nib.load("dmri.nii.gz") > data = img.get_data() > > The program crashes during "img.get_data()" wi

[Numpy-discussion] Loading large NIfTI file -> MemoryError

2013-12-31 Thread Amira Chekir
Hello together, I try to load a (large) NIfTI file (DMRI from Human Connectome Project, about 1 GB) with NiBabel. import nibabel as nib img = nib.load("dmri.nii.gz") data = img.get_data() The program crashes during "img.get_data()" with an "MemoryError" (having 4 GB of RAM in my machine). Any