[Scipy-tickets] [SciPy] #1301: scipy.signal missing functionality, incorrect documentation

SciPy Trac scipy-tickets@scipy....
Wed Oct 13 11:53:03 CDT 2010

#1301: scipy.signal missing functionality, incorrect documentation
 Reporter:  dplepage                  |       Owner:  somebody
     Type:  defect                    |      Status:  new     
 Priority:  normal                    |   Milestone:  0.9.0   
Component:  scipy.signal              |     Version:  0.8.0   
 Keywords:  convolve2d, old_behavior  |  
 Old versions of scipy.signal.convolve2d automatically swapped the first
 two arguments so that the smaller one was used as the convolution kernel.
 In 0.8.0, this behavior is supposedly controlled by the old_behavior
 input, which can be set to false to disable the behavior (setting it to
 true re-enables it and warns the user that it is deprecated).

 However, only scipy.signal.signaltools was modified to implement this;
 scipy/signal/sigtoolsmodule.c still has C code to do the same thing. As a
 result, convolve2d uses the old behavior regardless of the old_behavior

 The obvious fix is to delete lines 1046 and 1047 from sigtoolsmodule.c.

 This may also be true for other sigtools functions that have the same
 old_behavior flag (e.g. correlate, 1D convolve); I haven't checked.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1301>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list