scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
deconvolve(signal, divisor)

Returns the quotient and remainder such that signal = convolve(divisor, quotient) + remainder

Parameters

signal : array_like

Signal data, typically a recorded signal

divisor : array_like

Divisor data, typically an impulse response or filter that was applied to the original signal

Returns

quotient : ndarray

Quotient, typically the recovered original signal

remainder : ndarray

Remainder

Deconvolves divisor out of signal using inverse filtering.

See Also

numpy.polydiv

performs polynomial division (same operation, but also accepts poly1d objects)

Examples

Deconvolve a signal that's been filtered:

>>> from scipy import signal
... original = [0, 1, 0, 0, 1, 1, 0, 0]
... impulse_response = [2, 1]
... recorded = signal.convolve(impulse_response, original)
... recorded array([0, 2, 1, 0, 2, 3, 1, 0, 0])
>>> recovered, remainder = signal.deconvolve(recorded, impulse_response)
... recovered array([ 0., 1., 0., 0., 1., 1., 0., 0.])
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.signal._signaltools.deconvolve

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/signal/_signaltools.py#2138
type: <class 'function'>
Commit: