[GENERAL INFORMATION]
Function Name=CCE
Brief Description=Chesler-Cram Peak Function for use in chromatography
Function Source=fgroup.CCE
Function Type=Built-in
Function Form=Expression
Number Of Parameters=9
Number Of Independent Variables=1
Number Of Dependent Variables=1


[FITTING PARAMETERS]
Naming Method=User-Defined
Names=y0,xc1,A,w,k2,xc2,B,k3,xc3
Meanings=offset,unknown,unknown,unknown,unknown,unknown,unknown,unknown,unknown
Lower Bounds=--(I,Off),--(I,Off),--(I,Off),0.0(X,On),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off)
Upper Bounds=--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off),--(I,Off)
Number Of Significant Digits=


[FORMULA]

y = y0+A*(exp(-z*z/(2*w)) + (1 - 0.5*(1 - tanh(k2*(x-xc2)))) * B * exp(-0.5*k3*(abs(x-xc3) + (x-xc3))))
z=x-xc1


[CONSTRAINTS]



[CONSTANTS]



[Parameters Initialization]
sort(x_y_curve);
smooth(x_y_curve);
y0 = yatxmax( x_y_curve );
w = 0.85 * fwhm( x_y_curve, y0 );
A = area( x_y_curve, y0 );
if ( A > 0 ) xc1 = xatymax( x_y_curve );
else xc1 = xatymin( x_y_curve );
xc2 = xc1 * 1.1;
xc3 = xc2 * 1.1;
k2 = 1.0;
B = 1.0;
k3 = 1.0;


[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=8


