[GENERAL INFORMATION]
Function Name=InvsPoly
Brief Description=Inverse polynomial peak function with center
Function Source=fgroup.InvsPoly
Function Type=Built-in
Function Form=Expression
Number Of Parameters=7
Number Of Independent Variables=1
Number Of Dependent Variables=1


[FITTING PARAMETERS]
Naming Method=User-Defined
Names=y0,xc,w,A,A1,A2,A3
Meanings=offset,center,width,amplitude,coefficient,coefficient,coefficient
Lower Bounds=--,--,0.0(X,ON),--,0.0(I,ON),0.0(I,ON),0.0(I,ON)
Upper Bounds=--,--,--,--,--,--,--
Number Of Significant Digits=


[FORMULA]

y0+A/(1 + A1*(2*(x-xc)/w)^2 + A2*(2*(x-xc)/w)^4 + A3*(2*(x-xc)/w)^6)


[CONSTRAINTS]



[CONSTANTS]


[Parameters Initialization]
sort(x_y_curve);
smooth(x_y_curve);
y0 = yatxmin( x_y_curve );
w = fwhm( x_y_curve, y0 );
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;
}
A1 = 1.0;
A2 = 1.0;
A3 = 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=6


