diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /lib/math/curfit.h | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'lib/math/curfit.h')
-rw-r--r-- | lib/math/curfit.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/math/curfit.h b/lib/math/curfit.h new file mode 100644 index 00000000..7c9d9eab --- /dev/null +++ b/lib/math/curfit.h @@ -0,0 +1,34 @@ +# definitions for the curfit package + +# define the permitted types of curves + +define CV_FUNCTIONS "|chebyshev|legendre|spline3|spline1|" +define CHEBYSHEV 1 +define LEGENDRE 2 +define SPLINE3 3 +define SPLINE1 4 +define USERFNC 5 +define NTYPES 5 + +# define the weighting flags + +define CV_WEIGHTS "|user|uniform|spacing|chisq|" +define WTS_USER 1 # user enters weights +define WTS_UNIFORM 2 # equal weights +define WTS_SPACING 3 # weight proportional to spacing of data points +define WTS_CHISQ 4 # chi-squared weights (input data in photons) + +# error conditions + +define SINGULAR 1 +define NO_DEG_FREEDOM 2 + +# definitions for cvstat + +define CVTYPE 1 # curve type +define CVORDER 2 # order +define CVNCOEFF 3 # Number of coefficients +define CVNSAVE 4 # Length of save buffer +define CVXMIN 5 # minimum ordinate +define CVXMAX 6 # maximum ordinate + |