Skip to content

curvefit.utils.smoothing.convolve_sum

Convolve sum a 2D matrix by given radius.

Arguments

  • mat (numpy.ndarray): matrix of interest
  • radius (array-like{int} | None, optional): given radius, if None assume radius = (0, 0)

Returns

  • numpy.ndarray: the convolved sum, with the same shape with original matrix.