healpix_convolution.convolve

Contents

healpix_convolution.convolve#

healpix_convolution.convolve(arr, kernel, **kwargs)#

convolve an array using a pre-computed sparse kernel matrix

Parameters:
  • arr (array-like) – The data to convolve. The dimension to contract must be the last axis.

  • kernel (array-like) – 2-dimensional sparse matrix. Columns is the original pixels, rows the output pixels.

  • axis (int, optional) – The axis along which to apply the convolution