aboutsummaryrefslogtreecommitdiff
path: root/math/interp/asidef.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/interp/asidef.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/interp/asidef.h')
-rw-r--r--math/interp/asidef.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/interp/asidef.h b/math/interp/asidef.h
new file mode 100644
index 00000000..9fd06084
--- /dev/null
+++ b/math/interp/asidef.h
@@ -0,0 +1,16 @@
+# defines for use with interpolator package
+# intended for internal consumption only
+# used to set up storage in coeff array
+
+define TYPEI coeff[1] # code for interpolator type
+define NPTS coeff[2] # no. of data points
+
+define ITYPEI int(coeff[1])
+define INPTS int(coeff[2])
+
+define ASITYPEERR 1
+define ASIFITERR 2
+
+define COFF 10 # offset into coeff array
+ # beware coeff[COFF - 2] is first
+ # location used !!