[sage-support] Re: Sage and medical imaging (i.e. pynifti) build problems

2009-08-08 Thread Marshall Hampton
OK, thanks, I'll try to think about what the problem is. I won't have a lot of time for the next week, but hopefully after that I can work on a wider variety of machines. I'm going to re-cc this to sage-devel in the hopes that someone else might have some insight - I am not an expert on building

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-08 Thread Arvid Lundervold
After installing swig, ie. "sudo apt-get install swig" and amd64 build of nifticlib 1.1.0-2 in ubuntu jaunty from https://launchpad.net/ubuntu/jaunty/amd64/libnifti1-dev/1.1.0-2 and "sage -i pynifti-p0" I get: ... gcc -pthread -shared build/temp.linux-x86_64-2.6/build/src.linux- x86_64-2.6/n

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-07 Thread Marshall Hampton
Can you describe what went wrong when you did "sage -i pynifti-p0"? Had you downloaded the package? It won't get into the repository until someone reviews my ticket. Did you try installing nifticlib when you did it by hand? Thanks, Marshall On Aug 7, 1:23 am, Arvid wrote: > Thanks for the eff

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Arvid
Thanks for the effort of bringing pynifti (and pymvpa) avaliable. For me (on Ubuntu 9,04, or Mac Leopard) $ sage -i pynifti-p0 unfortunately did not work directly. However, downloading the sources 'pynifti_0.20090303.1.tar.gz' and 'pymvpa_0.4.2.tar.gz', then $ sage -shand $ make all an

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Marshall Hampton
I have a proposed experimental pynifti package, tracked as ticket #6678: http://trac.sagemath.org/sage_trac/ticket/6678 -Marshall On Aug 5, 10:23 pm, Marshall Hampton wrote: > Maybe this was some sort of path issue I don't understand, but when I > tried things again it seemed to work, i.e. if

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread William Stein
On Thu, Aug 6, 2009 at 7:17 AM, Marshall Hampton wrote: > > I have put my spkg up at: > > http://sage.math.washington.edu/home/mhampton/pynifti-p0.spkg > > I will make a ticket for this to become an experimental spkg. > If you made the ticket, you can close it, since I added the above to experime

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-06 Thread Marshall Hampton
I have put my spkg up at: http://sage.math.washington.edu/home/mhampton/pynifti-p0.spkg I will make a ticket for this to become an experimental spkg. -Marshall Hampton On Aug 5, 10:23 pm, Marshall Hampton wrote: > Maybe this was some sort of path issue I don't understand, but when I > tried t

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-05 Thread Marshall Hampton
Maybe this was some sort of path issue I don't understand, but when I tried things again it seemed to work, i.e. if I go into my SAGE_ROOT folder and use either sage or the sage python, the "import nifti" works. So what I described above seems to be sufficient, and this could be made into an spkg

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-05 Thread William Stein
On Wed, Aug 5, 2009 at 8:09 PM, Marshall Hampton wrote: > > I gave this a shot but it seems its not trivial to install. > > 1) I installed pymvpa with: > > pymvpa-0.4.2: sage -python setup.py build_ext > > 2) I installed the nifti c libraries with: > > nifticlib-1.1.0: make all > > 2b) then I copi

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-05 Thread Marshall Hampton
I gave this a shot but it seems its not trivial to install. 1) I installed pymvpa with: pymvpa-0.4.2: sage -python setup.py build_ext 2) I installed the nifti c libraries with: nifticlib-1.1.0: make all 2b) then I copied everything in the bin, lib, and include directories into the correspondi

[sage-support] Re: Sage and medical imaging (i.e. pynifti)

2009-08-05 Thread Harald Schilly
On Aug 5, 8:36 pm, Arvid wrote: > Will it be possible to incorporate access to NIfTI and ANALYZE files > in SAGE through PyNIfTI (http://niftilib.sourceforge.net/pynifti/)? Hi, I can't access the sourceforge website right now, but it is "easy" to install additional python packages in sage. They