[GENERAL INFORMATION]
Function Name=Voigt
Brief Description=Voigt peak function
Function Source=fgroup.Voigt5
Function Type=Built-in
Function Form=Expression
Number Of Parameters=5
Number Of Independent Variables=1
Number Of Dependent Variables=1


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


[FORMULA]
y = y0 + (A*2*ln(2)*wL)/(Pi^1.5*wG^2) * integ( exp(-t^2) / ((sqrt(ln(2))*wL/wG)^2+(sqrt(4*ln(2))*(x-xc)/wG-t)^2) )


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
sort(x_y_curve);
//smooth(x_y_curve, 2);
y0 = yatxmin( x_y_curve );
wG = 0.85 * fwhm( x_y_curve, y0 );
wL = wG;
A = area( x_y_curve, y0 );
if ( A > 0 ) xc = xatymax( x_y_curve );
else xc = xatymin( x_y_curve );


[INITIALIZATIONS]



[AFTER FITTING]



[INDEPENDENT VARIABLES]
x=


[DEPENDENT VARIABLES]
y=


[CONTROLS]
General Linear Constraints=Off
Initialization Scripts=Off
Duplicate Offset=2
Duplicate Unit=4
Peak Center=2
Peak Width=4
Peak Width 2=5
Peak Amplitude=3

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

