The width of the Gaussian function, sometimes called sigma.
If scalar, assumed constant for all dimensions.
must be linear and the same length as the first dimension of
In this case, each element gives the width of the function
in the corresponding dimension.
The mean value of the Gaussian function, sometimes called x0.
Same scalar/array behavior as width.
The height of the Gaussian at its center.
If not set,
initialized to the value that makes the Gaussian integrate to
If you want it to integrate to another number, leave
height alone and multiply the result by that other number
Must be scalar.
Default: [product(1./sqrt(2 * pi *
param: ndarray or tuple, 3-element
Instead of giving width, center, and height separately, give
them in an array or tuple, concatenated in this order.
width=(2,3), center=(5,6), height=9, using param=[2,3,5,6,9]
gives the same effect.
If param is defined, width, center,
and height are ignored and may be overwritten.
This is useful
in fitting functions.