[GENERAL INFORMATION]
Function Name=ExpAssoc
Brief Description=Exponential Associate
Function Source=fgroup.ExpAssoc
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,A1,t1,A2,t2
Meanings=offset,amplitude,width,amplitude,width
Lower Bounds=--(I,Off),0(X,Off),0(X,On),0(X,Off),0(X,On)
Upper Bounds=--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off)
Number Of Significant Digits=


[FORMULA]
y = y0 + A1*(1 - exp(-x/t1)) + A2*(1 - exp(-x/t2))


[CONSTRAINTS]

[Parameters Initialization]

sort(x_y_curve);
smooth(x_y_curve);
double ya = yatasymt(x_y_curve);
x_y_curve = ya - x_y_curve;
double coeff[4];
fitpoly(x_y_curve,3,coeff);
y0=ya-coeff[0];
x_y_curve=ln(x_y_curve);
fitpoly(x_y_curve,1,coeff);
A1=A2=exp(coeff[0])/2.0;
t1=t2=-1.0/coeff[1];

[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=N/A
Duplicate Offset=N/A
Duplicate Unit=N/A


