aboutsummaryrefslogtreecommitdiff
path: root/pkg/dataio/imtext/imtext.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/dataio/imtext/imtext.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'pkg/dataio/imtext/imtext.h')
-rw-r--r--pkg/dataio/imtext/imtext.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkg/dataio/imtext/imtext.h b/pkg/dataio/imtext/imtext.h
new file mode 100644
index 00000000..76506eda
--- /dev/null
+++ b/pkg/dataio/imtext/imtext.h
@@ -0,0 +1,21 @@
+# Definitions used for conversions between text files and IRAF images.
+# Both tasks rtextimage and wtextimage include this file.
+
+define LEN_WT (2+20+20)
+
+define IRAFTYPE Memc[P2C($1)]
+define FORM Memc[P2C($1+20)]
+
+define UNSET 0 # Flag for unitialized header values
+define INT_FORM 1 # Text file pixels written as integers
+define FP_FORM 2 # Text file pixels written as floating point
+define CPX_FORM 3 # Text file pixels written as complex
+
+define COL_VALUE 11 # Starting column for FITS keyword values
+define LEN_CARD 80
+define SZ_STRING 20
+define MAX_LENTEXT (2*SZ_LINE)
+define NFITS_LINES 10
+define NCARDS_FITS_BLK 36
+define LEN_STRING 18
+define LEN_KEYWORD 8