blob: b069502715ca58a67928998bbb99e66db0f19890 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<p>
<!-- pnuts --> <a href="imageval.html">[Previous]</a> <a href="headimage.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
<META NAME="generator" CONTENT="txt2html v1.3">
</HEAD>
<BODY>
<A NAME="section-1.1.1"><H3>Table FITS Values</H3></A>
<P>
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 <B>FITSTable.</B>
This structure may be accesed with the following macros:
<PRE>
typedef struct <B>FITSTCol</B> {
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;
} <B>*FITSTCol</B>;
typedef struct <B>FITSTable</B> {
int tabtype; /* TABLE or BINTABLE */
int tfields; /* # of fields */
FITSTCol col; /* Column pointers */
} <B>*FITSTable</B>;
<P>
</PRE>
<p>
<!-- pnuts --> <a href="imageval.html">[Previous]</a> <a href="headimage.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
</BODY>
</HTML>
|