[GENERAL INFORMATION]
Function Name=Asym2Sig
Brief Description=Asymmetric Double Sigmoidal
Function Source=fgroup.Asym2Sig
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=--,--,--,0.0(X,ON),0.0(X,ON),0.0(X,ON)
Upper Bounds=--,--,--,--,--,--
Number Of Significant Digits=


[FORMULA]

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


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
sort(x_y_curve);
//smooth(x_y_curve, 2);
y0 = yatxmin( x_y_curve );
w1 = fwhm( x_y_curve, y0 );
w2 = w1;
w3 = w1;
A = area( x_y_curve, y0 );
if ( A > 0 )
{ 
   xc = xatymax( x_y_curve );
   A = max( y_data ) - y0;
}
else
{ 
   xc = xatymin( x_y_curve );
   A = min( y_data ) - y0;
}


[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
