<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
apt-cache policy python-nifti output:<br><br>python-nifti:<br>&nbsp; Installed: 0.20080630.1-1<br>&nbsp; Candidate: 0.20080630.1-1<br>&nbsp; Version table:<br>&nbsp;*** 0.20080630.1-1 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 500 http://au.archive.ubuntu.com intrepid/universe Packages<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100 /var/lib/dpkg/status<br><br><br>My python-nifti package does actually seem to be part of the standard universe repositories. Here a cut and paste from synaptic<br>Maintainer: Ubuntu MOTU Developers &lt;ubuntu-motu@lists.ubuntu.com&gt;<br>Priority: Optional<br>Section: Science (universe)<br><br>I also checked my repositories. These are all standard except for this one: http://download.opensuse.org/repositories/home:/tonddast:/itk/xUbuntu_8.10<br><br>The (possibly relevant) following packages are installed:<br>python-2.5, python2.5-dev, libitk, python-itk, and python-numpy<br><br>I am tempted to remove all the packages, and reinstall them all again from scratch. Any suggestions before I do this?<br><br>Thanks again,<br>Nick<br><br><br>&gt; Date: Mon, 17 Aug 2009 08:10:43 -0400<br>&gt; From: michael.hanke@gmail.com<br>&gt; To: nick314@hotmail.com<br>&gt; CC: pkg-exppsy-pynifti@lists.alioth.debian.org<br>&gt; Subject: Re: [Pkg-exppsy-pynifti] Converting NiftiImage to ndarray gives "ValueError: dimensions too large"<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; On Sun, Aug 16, 2009 at 11:14:54PM +0000, Nicholas Dowson wrote:<br>&gt; &gt; <br>&gt; &gt; Michael: Thank you for your speed of response and apologies for taking so long to reply.<br>&gt; &gt; <br>&gt; &gt; Here is another (small) file of a 4x4x4 cube.  The same code causes a segmentation fault (repeated for ease of copy-paste)<br>&gt; &gt; from nifti import *<br>&gt; &gt; from numpy import *<br>&gt; &gt; mynifti = NiftiImage('test4x4x4.nii')<br>&gt; &gt; myarray = mynifti.getDataArray()<br>&gt; &gt; myarray<br>&gt; <br>&gt; This works perfectly for me (on Debian squeeze). I guess it must be the<br>&gt; specific version(s) you have on your system. Could you run<br>&gt; <br>&gt;   apt-cache policy python-nifti<br>&gt; <br>&gt; and send the output please.<br>&gt; <br>&gt; Since pynifti is not part of Intrepid I guess you are using the<br>&gt; repository at apsy.gse.uni-magdeburg.de, correct?<br>&gt; <br>&gt; <br>&gt; Michael<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; GPG key:  1024D/3144BE0F Michael Hanke<br>&gt; http://apsy.gse.uni-magdeburg.de/hanke<br>&gt; ICQ: 48230050<br><br /><hr />Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. <a href='http://clk.atdmt.com/UKM/go/157562755/direct/01/' target='_new'>Get Them Now</a></body>
</html>