summaryrefslogtreecommitdiff
path: root/numpy/lib/polynomial.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r--numpy/lib/polynomial.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py
index 83e919263..f875e52f0 100644
--- a/numpy/lib/polynomial.py
+++ b/numpy/lib/polynomial.py
@@ -284,25 +284,6 @@ def polymul(a1, a2):
val = poly1d(val)
return val
-
-def deconvolve(signal, divisor):
- """Deconvolves divisor out of signal. Requires numpy.signal library
- """
- import scipy.signal
- num = atleast_1d(signal)
- den = atleast_1d(divisor)
- N = len(num)
- D = len(den)
- if D > N:
- quot = [];
- rem = num;
- else:
- input = NX.ones(N-D+1, float)
- input[1:] = 0
- quot = numpy.signal.lfilter(num, den, input)
- rem = num - NX.convolve(den, quot, mode='full')
- return quot, rem
-
def polydiv(u, v):
"""Computes q and r polynomials so that u(s) = q(s)*v(s) + r(s)
and deg r < deg v.