[General Information]
Function Name = Gaussian_LorenCross
Brief Description = Gaussian-Lorentzian Cross Product
Function Source = OPFMFuncs.Gaussian_LorenCross
Number Of Parameters = 5
Function Type = Built-in
Function Form = Equations
Path = 
Number Of Independent Variables = 1
Number Of Dependent Variables = 1
FunctionPrev = NewFunction

[Fitting Parameters]
Names = y0,xc,A,w,s
Initial Values = --(V)
Meanings = base,center,amplitude,width,shape
Lower Bounds = --(X, OFF)
Upper Bounds = --(X, OFF)
Naming Method = User-Defined
Number Of Significant Digits = 

[Independent Variables]
x = 

[Dependent Variables]
y = 

[Formula]
y = y0 + A/(1 + s*((x - xc)/w)^2*Exp[0.5*(1 - s)*((x - xc)/w)^2])

[Constraints]


[Initializations]




[After Fitting]




[Constants]

[Controls]
General Linear Constraints = off
Initialization Scripts =Off
Scripts After Fitting = off
Number Of Duplicates = 0
Duplicate Offset = 2
Duplicate Unit = 4
Peak Center=2
Peak Width=4
Peak Amplitude=3
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 On Param Change Script = 1
Enable Parameters Initialization = 1

[On Parameter Change]



[Compile Function]
Compile = 1
Compile Parameters Initialization = 1.
OnParamChangeScriptsEnabled = 0.

[Parameters Initialization]

s = 0.5;
xc = peak_pos(x_y_curve, &w, &y0, NULL, &A);
w *= 0.42154;

[Origin C Function Header]


[Origin C Parameter Initialization Header]


[DerivedParameters]
