[General Information]
Function Name = FraserSuzuki
Brief Description = FraserSuzuki function
Function Source = OPFMFuncs.FraserSuzuki
Number Of Parameters = 4
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,sig
Initial Values = --(V)
Meanings = Base,Center,Area,Unknow
Lower Bounds = --(X, OFF),--(X, OFF),--(X, OFF),--(X, OFF)
Upper Bounds = --(X, OFF),--(X, OFF),--(X, OFF),--(X, OFF)
Naming Method = User-Defined
Number Of Significant Digits = 

[Independent Variables]
x = 

[Dependent Variables]
y = 

[Formula]
y = y0 + A/(sig * sqrt(2*PI)) * 

exp(-1/2*((x-x0)^2/sigL)) if x<0 or

exp(-1/2*((x-x0)^2/sigR)) if x> or = 0 with

sig=(sigL+sigR)/2;
sigL=sig*(1-A);
sigR=sig*(1+A);
A=(sigR-sigL)/(sigR+sigL);

[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 = 3
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]
xc = peak_pos(x_y_curve, &sig, &y0, &A);
sig *= 0.85;

[Origin C Function Header]


[Origin C Parameter Initialization Header]


[DerivedParameters]
