[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-26 Thread Rafael Cardoso Dias Costa
The problem is solved! http://www.sagenb.org/home/pub/677/ Thanks, Jason! Thanks, everyone! On Sat, Jul 25, 2009 at 10:40 PM, Jason Grout jason-s...@creativetrax.comwrote: Rafael Costa wrote: Why Sage not execute the python code? from scipy import * from pylab import *

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-26 Thread Maurizio
that is wonderful!! by the way, I am looking forward to see those LTI and Fourier Transform features applied to our powerful symbolic system :D Maurizio On Jul 26, 9:23 pm, Rafael Cardoso Dias Costa rfc...@gmail.com wrote: The problem is solved! http://www.sagenb.org/home/pub/677/ Thanks,

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Rafael Cardoso Dias Costa
*error message:* Traceback (most recent call last): File stdin, line 1, in module File /home/sage/sagenb/sage_notebook/worksheets/rfcard/0/code/12.py, line 15, in module S=fft(s) File , line 1, in module File

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Rafael Cardoso Dias Costa
My problem is sage-support! Thank! On Sat, Jul 25, 2009 at 5:38 PM, Rafael Cardoso Dias Costa rfc...@gmail.com wrote: *error message:* Traceback (most recent call last): File stdin, line 1, in module File /home/sage/sagenb/sage_notebook/worksheets/rfcard/0/code/12.py, line 15, in

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread David Joyner
This work in pure python. The problem in sage is with the line s = sin(2*pi*50*t)+sin(2*pi*70*t+pi/4) However, I don't know how to get Sage to evaluate the sin of a numpy.ndarray. For example, sage: sample_rate=1000.00 sage: import numpy sage:

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Minh Nguyen
Hi Rafael, On Sun, Jul 26, 2009 at 6:29 AM, Rafael Costarfc...@gmail.com wrote: Why Sage not execute the python code? from scipy import * from pylab import * sample_rate=1000.00 t=r_[0:0.6:1/sample_rate] N=len(t) s=sin(2*pi*50*t)+sin(2*pi*70*t+pi/4) S=fft(s)

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Tim Lahey
On Jul 25, 2009, at 4:59 PM, David Joyner wrote: This work in pure python. The problem in sage is with the line s = sin(2*pi*50*t)+sin(2*pi*70*t+pi/4) However, I don't know how to get Sage to evaluate the sin of a numpy.ndarray. For example, sage: sample_rate=1000.00 sage: import

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Jason Grout
Minh Nguyen wrote: The problem is that Sage and NumPy do not yet talk to each other very well. The relevant tickets to accomplish this are: #6497 http://trac.sagemath.org/sage_trac/ticket/6497 #5081 http://trac.sagemath.org/sage_trac/ticket/5081 #6506

[sage-devel] Re: Preparse is the problem? Sage not compute FFT

2009-07-25 Thread Minh Nguyen
On Sun, Jul 26, 2009 at 11:30 AM, Jason Groutjason-s...@creativetrax.com wrote: Minh Nguyen wrote: The problem is that Sage and NumPy do not yet talk to each other very well. The relevant tickets to accomplish this are: #6497 http://trac.sagemath.org/sage_trac/ticket/6497 #5081