data, boxshape, output=None, mode='nearest', cval=0.0) |
(3,3)
. If
output is specified, it should be the same shape as
data and the result will be stored in it. In that case
None will be returned.
mode can be any of the following values:
0.0
.
>>> print a [1 5 4 7 2 9 3 6] >>> print conv.boxcar(a,(3,)) [ 2.33333333 3.33333333 5.33333333 4.33333333 6. 4.66666667 6. 5. ] # for even number box size, it will take the extra point from the lower end >>> print conv.boxcar(a,(2,)) [ 1. 3. 4.5 5.5 4.5 5.5 6. 4.5]
data, kernel, mode=FULL) |
FULL
to specify the size of the resulting sequence. See section
13.2.
data, kernel, output=None, fft=0, mode='nearest', cval=0.0) |
data, kernel, mode=FULL) |
FULL
to
specify the size of the resulting sequence.
See section 13.2.
data, kernel, output=None, fft=0, mode='nearest', cval=0.0) |
Note: cross_correlate is deprecated and should not be used.
Send comments to the NumArray community.