Package: python-scipy
Version: 0.5.2-0.1
Severity: important

*** Please type your report below this line ***

(Note, this has been fixed in the svn repository, refer below for
mailing list archive link)

While trying to use signal.freqs, I get the following error:

<error>
In [1]: from scipy import *

In [2]: [w, h] = signal.freqs([1, 2, 5626], [1, 2, 2])
---------------------------------------------------------------------------
exceptions.NameError                                 Traceback (most
recent call last)

/home/kumar/python/filter_test/<ipython console> 

/usr/lib/python2.4/site-packages/scipy/signal/filter_design.py in
freqs(b, a, worN, plot)
     57     """
     58     if worN is None:
---> 59         w = findfreqs(b,a,200)
     60     elif isinstance(worN, types.IntType):
     61         N = worN

/usr/lib/python2.4/site-packages/scipy/signal/filter_design.py in
findfreqs(num, den, N)
     23         ep = atleast_1d(-1000)+0j
     24 
---> 25     ez = r_['-1',numpy.compress(ep.imag >=0, ep,axis=-1),
numpy.compress((abs(tz) < 1e5) & (tz.imag >=0),tz,axis=-1)]
     26 
     27     integ = abs(ez) < 1e-10

NameError: global name 'r_' is not defined
</error>

However, r_ seems to work when I try it from the ipython console.

This has been fixed in the svn repository. Could you please include it
in the Debian packaged version?

Refer: http://projects.scipy.org/pipermail/scipy-user/2007-January/010610.html

Thanks.

Kumar

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-ck1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-scipy depends on:
ii  atlas3-base [liblapack.s 3.6.0-20.3      Automatically Tuned Linear Algebra
ii  atlas3-sse2 [liblapack.s 3.6.0-20.3      Automatically Tuned Linear Algebra
ii  fftw2                    2.1.3-16.2      Library for computing Fast Fourier
ii  lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines
ii  libc6                    2.3.6-7         GNU C Library: Shared libraries
ii  libg2c0                  1:3.4.6-4       Runtime library for GNU Fortran 77
ii  libgcc1                  1:4.1.1-21      GCC support library
ii  libstdc++6               4.1.1-21        The GNU Standard C++ Library v3
ii  libufsparse              1.2-7           collection of libraries for comput
ii  python                   2.4.4-2         An interactive high-level object-o
ii  python-central           0.5.12          register and build utility for Pyt
ii  python-numpy             1:1.0.1-1       Numerical Python adds a fast array
ii  refblas3 [libblas.so.3]  1.2-8           Basic Linear Algebra Subroutines 3

Versions of packages python-scipy recommends:
ii  g++ [c++-compiler]            4:4.1.1-13 The GNU C++ compiler
ii  g++-4.0 [c++-compiler]        4.0.2-7    The GNU C++ compiler
ii  g++-4.1 [c++-compiler]        4.1.1-21   The GNU C++ compiler

-- no debconf information

-- 
Kumar Appaiah,
462, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to