brainpy.math.surrogate.GaussianGrad# class brainpy.math.surrogate.GaussianGrad(sigma=0.5, alpha=0.5)[source]# Judge spiking state with the Gaussian gradient function. See also gaussian_grad __init__(sigma=0.5, alpha=0.5)[source]# Methods __init__([sigma, alpha]) surrogate_fun(x) The surrogate function. surrogate_grad(x) The gradient function of the surrogate function.