fit a gauss curve into a curve (numeric vector). Note that results will be skewed if scanrate is low or heterogeneous (e.g. ddMS2 experiments).
getgauss(y, pval = 1)
y
numeric() to fit the curve