[GENERAL INFORMATION]
Function Name=Hill1
Brief Description=
Function Source=fgroup.Hill1
Function Type=Built-in
Function Form=Equations
Number Of Parameters=4
Number Of Independent Variables=1
Number Of Dependent Variables=1
Analytical Derivatives for User-Defined=Off


[FITTING PARAMETERS]
Naming Method=User-Defined
Names=START, END, k, n
Meanings=Start, End, Michaelis constant,Cooperative sites
Initial Values=--(V)
Lower Bounds=--(X,OFF),--(X,OFF),0.0(X,ON),0.0(X,ON)
Upper Bounds=--(X,OFF),--(X,OFF),--(X,OFF),--(X,OFF)
Number Of Significant Digits=


[FORMULA]
y = START + (END - START) * x^n  /  (k^n  +  x^n)


[CONSTRAINTS]
/*Enter general linear constraints here*/


[CONSTANTS]


[Parameters Initialization]
sort (x_y_curve);
if (xatymax(x_y_curve)>xatymin(x_y_curve) )
{
   START = min(y_data); 
   END = max(y_data);
} else
{
   START = max(y_data);
   END = min(y_data);
}
k = xaty50( x_y_curve ); 
n = 2;


[INITIALIZATIONS]
/*Code to be executed before fitting, a good place for complicated initialization.*/


[AFTER FITTING]
/*Code to be executed after fitting, a good place for generating results.*/


[ON PARAM CHANGE]
/*Code to be executed when parameters change.*/


[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
Generate Curves After Fitting=Yes
Curve Point Spacing=Uniform on X-Axis Scale
Generate Peaks After Fitting=Yes
Generate Peaks During Fitting=Yes
Generate Peaks with Baseline=Yes
Paste Parameters to Plot After Fitting=Yes
Paste Parameters to Notes Window After Fitting=Yes
Generate Residuals After Fitting=No
Keep Parameters=No
Enable Parameters Initialization=0
Compile On Param Change Script=1


[COMPILE FUNCTION]
Compile=1
Compile Parameters Initialization=1
On Param Change Scripts Enabled=0


[ORIGIN C FUNCTION HEADER]



[ORIGIN C PARAMETER INITIALIZATION HEADER]



