In [60]: arr = np.random.rand(2, 3)
In [61]: sgn.correlate2d(arr, arr)
Out[61]:
array([[0.12691559, 0.1958835 , 0.33475512, 0.23987517, 0.11215362],
[0.43393125, 0.43283463, 1.08754086, 0.43283463, 0.43393125],
[0.11215362, 0.23987517, 0.33475512, 0.1958835 , 0.12691559]])
In [62]: arr = np.random.rand(2, 3)*10
In [63]: sgn.correlate2d(arr, arr)
Out[63]:
array([[ 81.823015 , 123.50914544, 129.32478971, 48.87466962,
12.91304959],
[ 92.51425875, 215.27963074, 351.45463668, 215.27963074,