Simulate a Gaussian (normal) lineshape with unit height at the center.
Simulate discrete points of a continuous Gaussian (normal) distribution with unit height at the center. Sigma (the standard deviation of the distribution) is used as the distribution scale parameter.
Functional form:
f(x; x0, sigma) = exp( -(x - x0) ^ 2 / (2 * sigma ^ 2))
Parameters : | x : ndarray
x0 : float
sigma : float
|
---|---|
Returns : | f : ndarray
|