numpy.ma.convolve#

ma.convolve(a,v,mode='full',propagate_mask=True)[source]#

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

Parameters:
a, varray_like

Input sequences.

mode{‘valid’, ‘same’, ‘full’}, optional

Refer to thenp.convolve docstring.

propagate_maskbool

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

Returns:
outMaskedArray

Discrete, linear convolution ofa andv.

See also

numpy.convolve

Equivalent function in the top-level NumPy module.

On this page