[Pkg-exppsy-pynifti] Converting NiftiImage to ndarray gives "ValueError: dimensions too large"
Yaroslav Halchenko
debian at onerussian.com
Fri Aug 7 16:13:43 UTC 2009
just FWIW
that function lives in SWIG wrapper
cnifti/clib.i
to find it
git clone git://git.debian.org/pkg-exppsy/pynifti.git
cd pynifti
git grep wrapImageDataWithArray
you could troubleshoot WTF in a bit of details with pure pdb or pydb,
or in ipython -- just load ipython, run "pdb" to turn pdb on, run your
snippet, at place of failure it will jump into pdb, you could check
for value of
ar_dim
I guess which should say what dimensions it is asking for the array...
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
More information about the Pkg-exppsy-pynifti
mailing list