aboutsummaryrefslogtreecommitdiff
path: root/sys/imfort/db/idb.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/imfort/db/idb.h')
-rw-r--r--sys/imfort/db/idb.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/imfort/db/idb.h b/sys/imfort/db/idb.h
new file mode 100644
index 00000000..a430f01f
--- /dev/null
+++ b/sys/imfort/db/idb.h
@@ -0,0 +1,22 @@
+# IDB.H -- Image header database interface. In this version of the interface
+# the standard image header fields are maintained in binary in a fixed
+# structure and the user fields are maintained in FITS format (text) in the
+# a string buffer following the binary image header.
+
+define IDB_RECLEN 80 # length of a FITS record (card)
+define IDB_STARTVALUE 10 # first column of value field
+define IDB_ENDVALUE 30 # last column of value field
+define IDB_LENNUMERICRECORD 80 # length of new numeric records
+define IDB_LENSTRINGRECORD 80 # length of new string records
+
+# Standard header keywords accessible via the database interface.
+
+define I_CTIME 1
+define I_MTIME 2
+define I_LIMTIME 3
+define I_MINPIXVAL 4
+define I_MAXPIXVAL 5
+define I_NAXIS 6
+define I_PIXFILE 7
+define I_PIXTYPE 8
+define I_TITLE 9