

[General Information]
Function Name = Normal
Brief Description = Fitting with the function of normal distribution.
Function Source = fgroup.NewFunction
Function Type = Built-in
Function Form = Equations
Number Of Parameters = 3
Number Of Independent Variables = 1
Number Of Dependent Variables = 1
Analytical Derivatives for User-Defined = Off
FunctionPrev = NORMAL


[Fitting Parameters]
Naming Method = User-Defined
Names = mu,s,y0
Meanings = ?
Initial Values = --(V)
Lower Bounds = --(X, OFF)
Upper Bounds = --(X, OFF)
Number Of Significant Digits = 


[Formula]
y =  y0 + exp( -(x-mu)^2 / (2*s^2) ) /(s*sqrt(2*pi));





[Constraints]
s > 0;





[Parameters Initialization]


sort(x_y_curve);
y0 = min( y_data );
mu = xatymax( x_y_curve );
s = 2.5 * max( y_data ); // sqrt( 2 * pi ) is about 2.5


[Initializations]






[After Fitting]






[Independent Variables]
x = 


[Dependent Variables]
y = 


[Controls]
General Linear Constraints = Off
Initialization Scripts =Off
Scripts After Fitting = Off
Number Of Duplicates = N/A
Duplicate Offset = N/A
Duplicate Unit = N/A
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
Enable Parameters Initialization = 0
Compile On Param Change Script = 1


[Compile Function]
Compile = 1
Compile Parameters Initialization = 1
OnParamChangeScriptsEnabled = N/A


[Origin C Function Header]






[Origin C Parameter Initialization Header]





