[GENERAL INFORMATION]
Function Name=Lorentz
Brief Description=Lorentzian peak function
Function Source=fgroup.Lorentz
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 + (2*A/PI)*(w/(4*(x-xc)^2 + w^2))


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]

xc = peak_pos(x_y_curve, &w, &y0, NULL, &A);
A *= 1.57*w;

[INITIALIZATIONS]



[AFTER FITTING]



[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

[Derived Parameters]
H = 2*A/(PI*w); // Height of the Peak.

[Moments]
mz0 = A
mz1 = N.A. 
mc2 = N.A.
mc3 = N.A.
mc4 = N.A.

