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


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


[FORMULA]

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


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
sort(x_y_curve);
smooth(x_y_curve);
y0 = yatxmin( x_y_curve );
wG = 0.85 * fwhm( x_y_curve, y0 );
wL = wG;
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=5


