smpl.functions.gauss

smpl.functions.gauss(x, x_0, a, d, y)[source]

gauss(x,x_0,a,d,y) = \(a e^{\frac{\left(-1\right) \left(x - x_{0}\right)^{2}}{2 d^{2}}} + y\)

>>> from smpl.functions import gauss
>>> from smpl import plot
>>> plot.function(gauss,0,5,3,0,xmin=-5,xmax=5)

(Source code, png, hires.png, pdf)

../_images/smpl-functions-gauss-1.png