[GENERAL INFORMATION]
Function Name=Beta
Brief Description=The Beta Function
Function Source=fgroup.Beta
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,w1,w2,w3
Meanings=offset,Center,Amplitude,Width,Width,Width
Lower Bounds=--(I,Off),--(X,Off),--(I,Off),0(X,On),1(X,On),1(X,On)
Upper Bounds=--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off)
Number Of Significant Digits=


[FORMULA]

y=y0+A*(1+((w2+w3-2)/(w2-1))*((x-xc)/w1))^(w2-1)*(1-((w2+w3-2)/(w3-1))*((x-xc)/w1))^(w3-1)

[CONSTRAINTS]


[Parameters Initialization]
sort(x_y_curve);
//smooth(x_y_curve, 2);
y0 = max( y_data );
xc = xatymax( x_y_curve );
w1 = 0.85 * fwhm( x_y_curve, y0 );
A = 1.0;
w2 = 2.0;
w3 = 0.5 * w1;

[CONSTANTS]


[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
Peak Center=2
Peak Width=4
Peak Amplitude=3
