[Neuroimaging] Nibabel. Loading HCP data.

Matthew Brett matthew.brett at gmail.com
Wed Jul 8 23:41:15 CEST 2015


On Wed, Jul 8, 2015 at 9:38 PM, Jesus-Omar Ocegueda-Gonzalez
<jomaroceguedag at gmail.com> wrote:
> Hello,
> I am trying to load one of the dwMRI volumes from HCP (mgh_1010:
> http://www.humanconnectome.org/data/), which is large: (140, 140, 96, 552).
> This causes an overflow when computing the size in bytes (this happens when
> calling get_data()):
>
> volumeutils.py:507: RuntimeWarning: overflow encountered in long_scalars
>
> is this a known limitation of nibabel when loading large volumes?

That is odd - what do you get for:

img.shape
img.get_data_dtype()

Cheers,

Matthew


More information about the Neuroimaging mailing list