Version 2.11.3

The STDADS/TABLES package can read directly FITS binary tables. Information about the table can be obtained with the commands tinfo and tlcol.

      +------------------------------------------------------------+
      |             Space Telescope Tables Package                 |
      |         TABLES Version 2.1.1, December 07, 1999            |
      |                                                            |
      |   Space Telescope Science Institute, Baltimore, Maryland   |
      |         For help, send e-mail to help@stsci.edu            |
      +------------------------------------------------------------+


cl> tinfo SWP37905.FITS

# SWP37905.FITS[1]
 495  rows written to table
   4  columns defined
  25  header parameters written to table
  35  records allocated for header parameters
   4  space allocated for column descriptors
table type:  fits


cl> tlcol SWP37905.FITS

# SWP37905.FITS[1]

WAVELENGTH       R          %10.3f ANGSTROM
FLUX             R          %15.7e ERG/CM2/S/A
SIGMA            R          %15.7e ERG/CM2/S/A
QUALITY          S          %7d ""

cl> tread SWP37905.FITS

Column     1             2               3           4
Label  WAVELENGTH _____FLUX______ _____SIGMA_____ QUALITY
     1 1150.581   -2.086307E-14   3.080488E-14    0
     2 1152.257   -1.928159E-14   3.336856E-14    0
     3 1153.934    6.002686E-14   2.804848E-14    0
     4 1155.610   -4.733716E-14   2.560200E-14    0
     5 1157.287   -3.136794E-14   2.243977E-14    0
     6 1158.963   -2.251864E-14   2.081123E-14    0
     7 1160.639    3.583087E-14   3.263209E-14    0
....

The FITS tables can be converted into images for further use in IRAF (e.g. splot) with other STSDAS/TABLES commands such as titable and tomultispec.

The bi-dimensional SILO files can be read with RFITS:

cl> rfits swp03558.silo 0-1 data

File:  swp03558.silo   -> data0000.imh                     size=640x80
    bitpix=16  bscale=0.03125  bzero=0.  pixtype=real

Extension: 1 IMAGE  -> data0001.imh                        size=640x80
    bitpix=16  scaling=none  pixtype=short

This is the SILO image:

cl> imhead data0000 l+

data0000[640,80][real]:

No bad pixels, min=-603.875, max=258.125

Line storage mode, physdim [640,80], length of user area 13933 s.u.
Created Thu 15:48:53 30-Mar-2000, Last modified Thu 15:48:53 30-Mar-2000
Pixel file "HDR$data0000.pix" [ok]

          '26/02/94'           / Date file was written
          'VILSPA  '           / Institution generating the file
CRPIX1  =                   1. / x reference pixel
CRPIX2  =                   1. / y reference pixel
CRVAL1  =              1050.00 / Wavelength at reference pixel
CRVAL2  =                   1. / Coordinate of CRPIX2
CDELT1  =              1.67634 / Increment in wavelengths
CDELT2  =                   1. / Increment unit along y-axis
CTYPE1  = 'WAVELENGTH'         / Units along x-axis
CTYPE2  = 'SCAN    '           / Units along y-axis
BUNIT   = 'FN      '           / Flux numbers
TELESCOP= 'IUE     '           / International Ultraviolet Explorer
DATAMIN =               -603.9 / Minimum pixel value
DATAMAX =                258.1 / Maximum pixel value
.......

and this is the quality-flag bi-dimensional image:

cl> imhead data0001 l+

data0001[640,80][short]:

No bad pixels, min=-16384., max=0.
Line storage mode, physdim [768,80], length of user area 892 s.u.
Created Thu 15:48:54 30-Mar-2000, Last modified Thu 15:48:55 30-Mar-2000
Pixel file "HDR$data0001.pix" [ok]

'NOAO-IRAF FITS Image Kernel July 1999' / FITS file originator
                  '2000-03-30T13:32:52' / Date FITS file was generated
                '10:56:04 (30/03/2000)' / Time of last modification
DATAMIN =          -6.039000E2 / Minimum data value
DATAMAX =           2.581000E2 / Maximum data value
CRPIX1  =                   1. / x reference pixel
CRPIX2  =                   1. / y reference pixel
CRVAL1  =              1050.00 / Coordinate of CRPIX1
CRVAL2  =                   1. / Coordinate of CRPIX2
CDELT1  =              1.67634 / Increment unit along the x-axis
CDELT2  =                   1. / Increment unit along the y-axis
CTYPE1  = 'WAVELENGTH'         / x-axis units
CTYPE2  = 'SCAN    '           / y-axis units
BUNIT   = '        '           / Unitless

Back to How to read INES data


Back to the INES Principal Centre home page

HelpDesk | LAEFF | VILSPA

Last update: 10 July 2001