[GENERAL INFORMATION]
Function Name=PsdVoigt1
Brief Description=Pseudo-Voigt peak function type 1
Function Source=fgroup.PsdVoigt1
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,w,mu
Meanings=offset,center,amplitude,width,profile shape factor
Lower Bounds=--,--,--,0.0(X,ON),--
Upper Bounds=--,--,--,--,--
Number Of Significant Digits=


[FORMULA]

y = y0 + A * ( mu * (2/PI) * (w / (4*(x-xc)^2 + w^2)) + (1 - mu) * (sqrt(4*ln(2)) / (sqrt(PI) * w)) * exp(-(4*ln(2)/w^2)*(x-xc)^2) )

[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
sort(x_y_curve);
//smooth(x_y_curve, 2);
y0 = yatxmin( x_y_curve );
w  = 0.85 * fwhm( x_y_curve, y0 );
mu = 1.0;
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
Scripts After Fitting=Off
Number Of Duplicates=0
Duplicate Offset=2
Duplicate Unit=4
Peak Center=2
Peak Width=4
Peak Amplitude=3

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