[General Information]
Function Name = ellipse
Brief Description = ellipse function
Function Source = fgroup.ellipse
Number Of Parameters = 4
Function Type = Built-in
Function Form = Equations
Number Of Independent Variables = 2
Number Of Dependent Variables = 1

[Fitting Parameters]
Names = xc,yc,a,b
Initial Values = --(V)
Meanings = ?
Lower Bounds = --(X, OFF)
Upper Bounds = --(X, OFF)
Naming Method = User-Defined
Number Of Significant Digits = 

[Independent Variables]
x = 
y =

[Dependent Variables]
z = 

[Formula]
z = 1 - ((x - xc)/a)*((x-xc)/a) - ((y-yc)/b)*((y-yc)/b)



[Constraints]




[Initializations]




[After Fitting]




[Constants]

[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
Compile On Param Change Script = 1
Enable Parameters Initialization = 0

[On Parameter Change]









[Compile Function]
Compile = 1
Compile Parameters Initialization = 1.
OnParamChangeScriptsEnabled = 0.

[Parameters Initialization]
sort(x_z_curve);
sort(y_z_curve);

smooth(x_z_curve, 2);
smooth(y_z_curve, 2);
xc = (max(x_data)+min(x_data))/2;

yc = min(y_data);

a = (max(x_data)-min(x_data))/2;
b = (max(y_data)-min(y_data))/2;




[Origin C Function Header]




[Origin C Parameter Initialization Header]




[DerivedParameters]
