diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /lib/math/curfit.h | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
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 + |