summaryrefslogtreecommitdiffstats
path: root/funtools/fitsy/doc/imageval.wu
blob: e5ab468229311964bfeb609d5dde755d439732e5 (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

Image FITS Values
=================

 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 #FITSImage
 structure.  This structure may be accesed with the following macros:

+
    ##define #ft_hasbscale(fits)	( fits->image->has_bscale 	)
    ##define #ft_bscale(fits)		( fits->image->bscale	 	)
    ##define #ft_hasbzero(fits)		( fits->image->has_bzero 	)
    ##define #ft_bzero(fits)		( fits->image->bzero	 	)
    ##define #ft_hasblank(fits)		( fits->image->has_blank 	)
    ##define #ft_blank(fits)		( fits->image->blank	 	)

    typedef struct #FITSImage {
	int	  has_bscale;
	int	  bscale;
	int	  has_bzero;
	int	  bzero;

	int	  has_blank;
	int	  blank;
    } #"*FITSImage";
+