Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 88, Issue 1

2014-01-01 Thread Amira Chekir
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] NumPy-Discussion Digest, Vol 87, Issue 35

2014-01-01 Thread Amira Chekir
...@scipy.org > > You can reach the person managing the list at > numpy-discussion-ow...@scipy.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of NumPy-Discussion digest..." > > > Today's Topics: &g

[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