Image Extension のヘッダの例

このタイプの extension がどのように使われるかの例を挙げる。この例では Primary データ配列は IUE の線形化されたイメージファイルを含み、付随するピクセルのクオリティのフラッグが Image Extension を使って格納されている。

Main Header
         1         2         3         4         5         6         7
123456789012345678901234567890123456789012345678901234567890123456789012345...
------------------------------------------------------------------------------
SIMPLE  =                    T / Standard FITS format
BITPIX  =                   16 / 2-Bytes, 2-s complement integers
NAXIS   =                    2 / Number of axes
NAXIS1  =                  768 / Number of pixels per row
NAXIS2  =                  768 / Number of rows
EXTEND  =                    T / Extensions may be present
CTYPE1  = 'SAMPLE  '           / X axis
CTYPE2  = 'LINE    '           / Y axis 
BSCALE  =           3.1250E-02 / REAL = (FITS * BSCALE) + BZERO
BZERO   =                   0. / Bias
ORIGIN  = 'VILSPA  '           / Institution generating tape
TELESCOP= 'IUE     '           / IUE telescope
FILENAME= 'SWP12345.LIHI'      / Filename (camera)(image).LI(disp)
DATE    = '12/10/92'           / Date tape was written as DD/MM/YY
...
...
...
END

Main Data Record
(ブロックを改めて書き始める)。
...
...
...

Extension Header
(ブロックを改めて書き始める)。
         1         2         3         4         5         6         7
123456789012345678901234567890123456789012345678901234567890123456789012345...
------------------------------------------------------------------------------
XTENSION= 'IMAGE   '           / Image Extension
BITPIX  =                   16 / 2-Bytes, 2-s complement integers
NAXIS   =                    2 / Number of axes
NAXIS1  =                  768 / Number of pixels per row
NAXIS2  =                  768 / Number of rows
PCOUNT  =                    0 / Number of parameters per group 
GCOUNT  =                    1 / Number of groups
CTYPE1  = 'SAMPLE  '           / X axis
CTYPE2  = 'LINE    '           / Y axis
FILENAME= 'SWP12345.LFHI'      / Filename (camera)(image).LF(disp)
EXTNAME = 'LFHI    '           / Data quality flags 
...
...
...
END

Extension Data Record
(ブロックを改めて書き始める)。
...
...
...



Osamu Kanamitsu
2019-02-15