multigaussian

Math.multigauss.multigaussian(x, pos, std, *args)

Returns the value of the sum of multiple Gaussians.

Note that if x does not have points within the range of any of the Gaussians then zeros are returned.

:param x : independent variable :type x : float

:param pos : position of one Gaussian in x :type pos : list of float

:param std : standard deviation for all the Gaussians :type std : float

:param peaks : tuples with ampl and relative pos of the individual Gaussians :type peaks : list of tuples of float