Gauss

The formula for Gaussian Function, Gauss(x, y0, xc, w, A), is:

y=y0 + (A/(w*sqrt(PI/2)))*exp(-2*((x-xc)/w)^2)

where:

y0 is the baseline offset.

xc is the center of the peak.

w equals 2 times the standard deviation of the Gaussian distribution (2*s) or approximately 0.849 the width of the peak at half height

A is the area under the peak.