This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / convolve

function

numpy.ma.core:convolve

source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py :8359

Signature

def   convolve ( a v mode = full propagate_mask = True )

Summary

Returns the discrete, linear convolution of two one-dimensional sequences.

Parameters

a, v : array_like

Input sequences.

mode : {'valid', 'same', 'full'}, optional

Refer to the np.convolve docstring.

propagate_mask : bool

If True, then if any masked element is included in the sum for a result element, then the result is masked. If False, then the result element is only masked if no non-masked cells contribute towards it

Returns

out : MaskedArray

Discrete, linear convolution of a and v.

See also

numpy.convolve

Equivalent function in the top-level NumPy module.

Aliases

  • numpy.ma.convolve