[Scipy-svn] r4989 - trunk/scipy/signal

scipy-svn@scip... scipy-svn@scip...
Tue Nov 4 02:33:36 CST 2008


Author: cdavid
Date: 2008-11-04 02:33:27 -0600 (Tue, 04 Nov 2008)
New Revision: 4989

Modified:
   trunk/scipy/signal/sigtoolsmodule.c
Log:
Use new lfilter implementation instead of old one.

Modified: trunk/scipy/signal/sigtoolsmodule.c
===================================================================
--- trunk/scipy/signal/sigtoolsmodule.c	2008-11-04 08:33:11 UTC (rev 4988)
+++ trunk/scipy/signal/sigtoolsmodule.c	2008-11-04 08:33:27 UTC (rev 4989)
@@ -1962,6 +1962,11 @@
 
         /* fprintf(stderr, "Here.\n"); */
 
+        if (Vi != NULL) {
+                fprintf(stderr, "%s: Vs and Vf has %d and %d dims\n", __func__,
+                                arVi->nd, arVf->nd);
+
+        }
 	RawFilter(Vb, Va, x, y, vi, vf, basic_filter, thedim);
         /* fprintf(stderr, "Now, Here.\n");*/
 
@@ -2164,13 +2169,13 @@
 
 }
 
+#include "newsig.c"
 
-
 static struct PyMethodDef toolbox_module_methods[] = {
 	{"_correlateND", sigtools_correlateND, METH_VARARGS, doc_correlateND},
 	{"_convolve2d", sigtools_convolve2d, METH_VARARGS, doc_convolve2d},
 	{"_order_filterND", sigtools_order_filterND, METH_VARARGS, doc_order_filterND},
-	{"_linear_filter",sigtools_linear_filter, METH_VARARGS, doc_linear_filter},
+	{"_linear_filter",sigtools_linear_filter2, METH_VARARGS, doc_linear_filter},
 	{"_remez",sigtools_remez, METH_VARARGS, doc_remez},
 	{"_medfilt2d", sigtools_median2d, METH_VARARGS, doc_median2d},
 	{NULL,		NULL, 0}		/* sentinel */



More information about the Scipy-svn mailing list