[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: accessing sage notebook with android phone

2009-08-05 Thread Marshall Hampton
As Minh, mentioned, you could try a different binary, or just compile from source. Compiling from source isn't too hard, and has the advantage that upgrading to newer versions is faster. It should take roughly 1 hour or so to compile. source for sage-4.1: http://www.sagemath.org/src/sage-4.1.ta

[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: Singular timeout?

2009-08-05 Thread VictorMiller
It seems that what I posted about must have been caused by some other error (memory leak?). When I tried to do the same calculation again in the same worksheet, I got a different error about recursion depth being exceeded. So I quit the worksheet and started it over again. This time the calculat

[sage-support] Re: Singular timeout?

2009-08-05 Thread VictorMiller
Another small oops. The offending example should be C = Curve1(9,4) On Aug 5, 5:02 pm, VictorMiller wrote: > I had a small typo in the last code.  The line that said > > F = FractionField(K) > > should have read > > F = FractionField(R) > > also after the line that starts with "vars = " shou

[sage-support] Re: Singular timeout?

2009-08-05 Thread VictorMiller
I had a small typo in the last code. The line that said F = FractionField(K) should have read F = FractionField(R) also after the line that starts with "vars = " should be the line R = PolynomialRing(Rationals(),k,vars) On Aug 5, 4:59 pm, VictorMiller wrote: > Okay, Here's some code (in ca

[sage-support] Re: Singular timeout?

2009-08-05 Thread VictorMiller
Okay, Here's some code (in case anyone is interested, this was related to a problem that appeared on the math-fun mailing list): def ECurve(n,k): vars = ['a%d_%d'%(n,i) for i in range(k)] v = R.gens() F = FractionField(K) S. = F[] f = (x^n-1)//(x-1) g = x^k + sum([v[i]*x^i for i

[sage-support] Re: Singular timeout?

2009-08-05 Thread William Stein
On Wed, Aug 5, 2009 at 1:09 PM, VictorMiller wrote: > > I was asking SAGE to do a calculation that I knew was probably > laborious -- I had a plane curve (over Q) and I wanted its genus. I > defined it with C=Curve(equation_in_two_variables) and then typed > > C.genus() > > after a while (I was i

[sage-support] Singular timeout?

2009-08-05 Thread VictorMiller
I was asking SAGE to do a calculation that I knew was probably laborious -- I had a plane curve (over Q) and I wanted its genus. I defined it with C=Curve(equation_in_two_variables) and then typed C.genus() after a while (I was in the notebook) I just got the mysterious error message: delaybef

[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

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

2009-08-05 Thread Arvid
Will it be possible to incorporate access to NIfTI and ANALYZE files in SAGE through PyNIfTI (http://niftilib.sourceforge.net/pynifti/)? SAGE (with NumPy and SciPy) could then be a powerful environment for medical image analysis (much like MATLAB ...). (i) How should one proceed to get the functio

[sage-support] Re: question about using Sage with Pydev

2009-08-05 Thread Greg
Quick addition - I only get this error when trying to run this program from inside Eclipse. When I run it using python on the command prompt, it seems to work. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fr

[sage-support] question about using Sage with Pydev

2009-08-05 Thread Greg
Hi, I've been trying to get Sage to work with Eclipse/Pydev. From what I've been able to find online, I've done the following. -importing "$SAGE_ROOT/devel/sage-main/" to the project>properties>external source folders -running either "sage -sh" or "source local/bin/sage-env" from $SAGE_ROOT -enter

[sage-support] Re: accessing sage notebook with android phone

2009-08-05 Thread noufal asharaf
> I am noufal a research scholar in mathematics from India. I have > downloaded sage from the net and installed in my PC but it shows a warning > message when we tried to access the notebook by typing notebook(). My laptop > Aceraspire4710 the processsor attached to this is intel pentium dual core

[sage-support] Re: request for help

2009-08-05 Thread Burcin Erocal
On Wed, 5 Aug 2009 17:26:31 +0530 noufal asharaf wrote: > I am using aceraspire 4710 laptop. Processor is pentium T2080 dual > core. 1GB RAM with 160GB Hard disk. > I have tried sage4.1 to install in Mandriva 2008.1 spring version in > KDE desktop. I have downloaded a binary version of

[sage-support] Re: accessing sage notebook with android phone

2009-08-05 Thread noufal asharaf
I am using ACER ASPIRE 4710 laptop. The processor is pentium T2080 dual core. RAM 1GB and 160GB hard disk. I have downloaded a binary version of sage 4.1 which is suitable for mandriva and tried to install in Mandriva 2008.1 spring version in KDE desktop. But during installation a

[sage-support] Re: request for help

2009-08-05 Thread noufal asharaf
I am using aceraspire 4710 laptop. Processor is pentium T2080 dual core. 1GB RAM with 160GB Hard disk. I have tried sage4.1 to install in Mandriva 2008.1 spring version in KDE desktop. I have downloaded a binary version of sage from the sage website, one which is suitable for Mandri

[sage-support] Re: accessing sage notebook with android phone

2009-08-05 Thread noufal asharaf
I am using mandriva2008 spring version I think you can help me to correct the difficulty. Thanks a lot for a genuine and fast reply. On Wed, Aug 5, 2009 at 3:40 PM, Minh Nguyen wrote: > > Hi Noufal, > > On Wed, Aug 5, 2009 at 7:55 PM, noufal asharaf > wrote: > > I am noufal a research scholar in

[sage-support] Re: accessing sage notebook with android phone

2009-08-05 Thread Minh Nguyen
Hi Noufal, On Wed, Aug 5, 2009 at 7:55 PM, noufal asharaf wrote: > I am noufal a research scholar in mathematics from India. I have downloaded > sage from the net and tried to install in my PC but it shows a warning > message ¨ This sage install was built on a machine that supports > instruction

[sage-support] Re: accessing sage notebook with android phone

2009-08-05 Thread noufal asharaf
I am noufal a research scholar in mathematics from India. I have downloaded sage from the net and tried to install in my PC but it shows a warning message ¨ This sage install was built on a machine that supports instructions that are not available on this computer. Sage will likely fail with illeg