Next Contents Previous

2.2. Reading HST FITS files

To analyze the data of the first generation HST instruments as well as from WFPC2, it is strongly recommended that it be read from its original FITS format and stored in GEIS format on disk. NICMOS and STIS data should remain in FITS format.

The task stsdas.fitsio.catfits can be used to list the contents of a tape. An example of such listing is:

example
1


The suggested parameters to read a FITS tape with the stsdas.fitsio.strfits task are:

example
1

As mentioned above, the header contains all the information about the observation. Important parameters can be listed using the stsdas.toolbox.headers.imininfo task; resulting in, for example for a WFPC2 image:

example
3

and for an FOS spectrum:

example
4

2.2.1 Other HST files

Besides the science headers described above, there are others that contain further information about the observation:

2.2.2 Association Data

The most recent instruments installed on board of HST, NICMOS and STIS, have the characteristics that to create a useful science observation several exposures are combined. These individual exposures constitute an association that can then be worked on (read, calibrated, archived and analyzed) together rather than as separate observations. In the case of NICMOS an association is the collection of all the observations of the source and the sky that are executed as part of an observation. NICMOS and STIS data should always remain in FITS format and not be read to other formats. The syntax to operate with these files is:

filename.fits [extension number] [keyword option] [image section]

Please refer to the HST Data Handbook for more details about these files.

2.2.3 Other programs that read FITS files

Table 2 lists other programs, besides the STSDAS task mentioned, IDL, MIDAS, Figaro that can read FITS files (although most do not read group-formatted data)

Table 2. FITS files readers

Platform Program archived at

UNIX, VMS FITSIO ftp://legacy.gsfc.nasa.gov/software/
UNIX xv ftp://ftp.cis.upenn.edu/pub/xv
Macintosh OS GraphicConverter http://hyperarchive.lcs.mit.edu
Macintosh OS PhotoshopFITS gopher://gopher.archive.merit.edu/mac/graphics/graphicutils/
Macintosh OS MAIA gopher://gopher.archive.merit.edu/mac/graphics/graphicutils/
Macintosh OS NIHImage http://rsb.info.nih.gov/nih-image/
Macintosh OS FITSview http://www.cv.nrao.edu/fits/os-support/mac-os/macfitsview/
Windows FITSview http://www.cv.nrao.edu/fits/os_support/ms-windows/fitsview/

Next Contents Previous