blob: 6811e73741e2334ecc635f9507ec42b11207689b (
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
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<p>
<!-- pnuts --> <a href="basicval.html">[Previous]</a> <a href="tableval.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>Image FITS Values</H3></A>
<P>
When a FITS header is scanned in memory or read from a file several
image values are retrieved from the header and stored in s <B>FITSImage</B>
structure. This structure may be accesed with the following macros:
<PRE>
#define <B>ft_hasbscale</B>(fits) ( fits->image->has_bscale )
#define <B>ft_bscale</B>(fits) ( fits->image->bscale )
#define <B>ft_hasbzero</B>(fits) ( fits->image->has_bzero )
#define <B>ft_bzero</B>(fits) ( fits->image->bzero )
#define <B>ft_hasblank</B>(fits) ( fits->image->has_blank )
#define <B>ft_blank</B>(fits) ( fits->image->blank )
typedef struct <B>FITSImage</B> {
int has_bscale;
int bscale;
int has_bzero;
int bzero;
int has_blank;
int blank;
} <B>*FITSImage</B>;
<P>
</PRE>
<p>
<!-- pnuts --> <a href="basicval.html">[Previous]</a> <a href="tableval.html">[Next]</a> <a href="fitsy.html">[Up]</a> <a href="../mmtilib.html">[Top]</a>
</BODY>
</HTML>
|