First, an apology: I am not sure I'm doing this entirely correctly. Commands typed ==============
from scipy.signal.filter_design import * butter(2,0.5) Result ===== An error (traceback given below). Expected result ============ The expected output was a list of coefficients for the moving-average and recursive parts of a Butterworth digital filter. System ====== Mac OSX running Sage Version 3.2.3, Release Date: 2009-01-05 | Traceback ======== Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/kelley/.sage/sage_notebook/worksheets/admin/7/code/ 10.py", line 7, in <module> butter(_sage_const_2 ,_sage_const_0p5 ) File "/Applications/sage/local/lib/python2.5/site-packages/ SQLAlchemy-0.4.6-py2.5.egg/", line 1, in <module> File "/Applications/sage/local/lib/python2.5/site-packages/scipy/ signal/filter_design.py", line 482, in butter return iirfilter(N, Wn, btype=btype, analog=analog, output=output, ftype='butter') File "/Applications/sage/local/lib/python2.5/site-packages/scipy/ signal/filter_design.py", line 434, in iirfilter z, p, k = typefunc(N) File "/Applications/sage/local/lib/python2.5/site-packages/scipy/ signal/filter_design.py", line 957, in buttap p = numpy.exp(1j*(2*n-1)/(2.0*N)*pi)*1j AttributeError: exp --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---