[GENERAL INFORMATION]
Function Name=Gauss
Brief Description=Area version of Gaussian Function
Function Source=fgroup.Gauss
Function Type=Built-in
Function Form=Expression
Number Of Parameters=4
Number Of Independent Variables=1
Number Of Dependent Variables=1


[FITTING PARAMETERS]
Naming Method=User-Defined
Names=y0,xc,w,A
Meanings=offset,center,width,area
Lower Bounds=--,--,0.0(X,ON),--
Upper Bounds=--,--,--,--
Number Of Significant Digits=


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


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
xc = peak_pos(x_y_curve, &w, &y0, &A);
w *= 0.85;

[INITIALIZATIONS]



[AFTER FITTING]



[ON PARAM CHANGE]






[INDEPENDENT VARIABLES]
x=


[DEPENDENT VARIABLES]
y=


[CONTROLS]
General Linear Constraints=Off
Initialization Scripts=Off
Scripts After Fitting=Off
Number Of Duplicates=0
Duplicate Offset=2
Duplicate Unit=3
Peak Center=2
Peak Width=3
Peak Amplitude=4
Generate Curves After Fitting=Yes
Curve Point Spacing=Uniform on X-Axis Scale
Generate Peaks After Fitting=Yes
Generate Peaks During Fitting=Yes
Generate Peaks with Baseline=Yes
Paste Parameters to Plot After Fitting=Yes
Paste Parameters to Notes Window After Fitting=Yes
Generate Residuals After Fitting=No
Keep Parameters=No


[COMPILE FUNCTION]
Compile=0
Compile Parameters Initialization=1


[Derived Parameters]
sigma = w/2; // sigma.
FWHM = sqrt(2*ln(2)) * w; // Full Width at Half Maximum.
Height = A/(w*sqrt(PI/2)); // Height of the Peak.



[Moments]
mz0 = A
mz1 = xc
mc2 = w*w/4
mc3 = 0
mc4 = 3*w*w*w*w/16

