blob: ae5ff39de4196fbbbb79f332ff582a28abb8115e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
Table FITS Values
=================
When a FITS header is scanned in memory or read from a file several
table values are retrieved from the header and stored in the #FITSTable.
This structure may be accesed with the following macros:
+
typedef struct #FITSTCol {
int type;
int n;
int size;
int width;
int offset;
char *format;
int heap;
char *name;
char *unit;
char *disp;
int prec;
int has_scale;
double scale;
int has_zero;
double zero;
int has_blank;
char *ablank;
double dblank;
} #"*FITSTCol";
typedef struct #FITSTable {
int tabtype; /* TABLE or BINTABLE */
int tfields; /* # of fields */
FITSTCol col; /* Column pointers */
} #"*FITSTable";
+
|