def gaussian_convolution(h, Xi, x):
    """ Calculates the Gaussian Convolution Kernel """
    return (1. / np.sqrt(4 * np.pi)) * np.exp(- (Xi - x)**2 / (h**2 * 4.))
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/nonparametric/kernels.py/gaussian_convolution/original