From naran@guava.csil.sfu.ca Tue Jan 21 17:47:11 1992 Newsgroups: sci.astro From: naran@guava.csil.sfu.ca (Travers Naran) Subject: FITS format Keywords: fits format conversion Organization: Simon Fraser University, Burnaby, B.C., Canada Date: Fri, 17 Jan 1992 01:07:37 GMT How can I convert FITS pictures from the Hubble into something I can use on my Amiga? In particular, the FITS document I got from NASA's FTP site is kind of vague on what data is actually in a FITS and examining the FITS it's format is rather strange. In FITS'ese, what is in a Hubble FITS? What is the type of data being recorded? -- -------------------------------------------------------------------------- Travers Naran | "I am NOT a merry Mail address: naran@fraser.sfu.ca or naran@sfu.ca | man!" Simon Fraser University, British Columbia, Canada | Lt. Worf, Cmpt. Science student wanna-be | ST:TNG, "Q-pid" Trekker, Leaper, Red Dwarf'er, Prober, etc. | -------------------------------------------------------------------------- From warnock@nssdca.gsfc.nasa.gov Tue Jan 21 17:47:19 1992 From: warnock@nssdca.gsfc.nasa.gov (Archie Warnock) Newsgroups: sci.astro Subject: Re: FITS format Keywords: fits format conversion Date: 17 Jan 92 04:50:00 GMT Organization: Hughes STX - NASA/NCDS News-Software: VAX/VMS VNEWS 1.41 Nntp-Posting-Host: nssdca.gsfc.nasa.gov In article <1992Jan17.010737.28347@sfu.ca>, naran@guava.csil.sfu.ca (Travers Naran) writes... >How can I convert FITS pictures from the Hubble into something I can use on my >Amiga? In particular, the FITS document I got from NASA's FTP site is kind of I'm not aware of any FITS readers for Amiga. The images from the WF/PC instrument on HST are in FITS Random Groups format - there are four images in the data stream, one for each chip in the camera. ---------------------------------------------------------------------------- -- Archie Warnock Internet: warnock@nssdc.gsfc.nasa.gov -- Hughes STX SPAN: NSSDC::WARNOCK -- NASA/GSFC "Unix - JCL for the 90s" From bschlesinger@nssdca.gsfc.nasa.gov Tue Jan 21 17:47:22 1992 From: bschlesinger@nssdca.gsfc.nasa.gov (Barry Schlesinger) Newsgroups: sci.astro Subject: Re: FITS format Keywords: fits format conversion Date: 17 Jan 92 15:18:00 GMT Organization: NASA - Goddard Space Flight Center News-Software: VAX/VMS VNEWS 1.41 Nntp-Posting-Host: nssdca.gsfc.nasa.gov In article <16JAN199223501834@nssdca.gsfc.nasa.gov>, warnock@nssdca.gsfc.nasa.gov (Archie Warnock) writes... >In article <1992Jan17.010737.28347@sfu.ca>, naran@guava.csil.sfu.ca (Travers Naran) writes... >>How can I convert FITS pictures from the Hubble into something I can use on my >>Amiga? In particular, the FITS document I got from NASA's FTP site is kind of > >... The images from the WF/PC >instrument on HST are in FITS Random Groups format - there are four >images in the data stream, one for each chip in the camera. > The first point to remember is that FITS is not a simple format for pure pictures but a generalized data transport format in which pictures can be stored in the form of a multidimensional matrix, but such a matrix need not represent a digital image. In order to understand what a FITS file contains, it is necessary to read the header (with software) and look at the values of the keywords and the accompanying comments. How to interpret headers is described in the on-line NASA document. Proper software can read the header and extract the stored data that follows. In the case of HST, it is useful to read their accompanying documentation. The NSSDCA anonymous directory /FITS/software contains a C program for reading and listing the header of any FITS file. While the HST data are in what is called a Groups format, it is not the same as the Random Groups format described in the second of the four original FITS papers and the NASA Draft Standard for FITS. What HST does is to combine the four images into one matrix, with the first two axes being the two axes of the picture and the third axis representing the separate chips. The format of the primary array is a standard BASIC FITS format, which can be (and has been) read by a test prototype FITS reader that is capable of handling matrices only in integer matrix format. Interpreting the numbers requires understanding the header keywords. Barry Schlesinger NSSDC/NOST FITS Support Office