sainsc.gaussian_kernel ====================== .. py:function:: sainsc.gaussian_kernel(bw, radius, *, dtype = np.float32, circular = False) Generate a 2D Gaussian kernel array. :param bw: Bandwidth of the Gaussian. :type bw: float :param radius: Radius of the kernel. Output size will be :math:`2*radius+1`. :type radius: int :param dtype: Datatype of the kernel. :type dtype: numpy.typing.DTypeLike :param circular: Whether to make kernel circular. Values outside `radius` will be set to 0. :type circular: bool, optional :rtype: numpy.ndarray