From snyder@netcom.com Tue Jun 14 11:54:37 1994 Newsgroups: sci.astro Path: saips.cv.nrao.edu!hearst.acc.Virginia.EDU!darwin.sura.net!news.udel.edu!udel!gatech!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!csus.edu!netcom.com!snyder From: snyder@netcom.com (Doug Snyder) Subject: Re: ST6 to Fits Message-ID: Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: TIN [version 1.2 PL1] References: <1994Jun7.170641.6344@newshub.ists.ca> <2t9ku6$21ff@unixfe.rl.ac.uk> Date: Fri, 10 Jun 1994 23:59:28 GMT Lines: 28 Malcolm Currie (mjc@adam3.bnsc.rl.ac.uk) wrote: : In article , beaucham@phy.ulaval.ca (Dominique Beauchamp) writes: : |> : |>The ST6 operating software allows you to save the images in FITS. I think however : |>that they are saved as UNSIGNED 16 bit integers, which is not supported by FITS. : |>Then youu should add in the header BZERO=16384... (I think...). : Shouldn't that be BZERO=32768? The ST6 software does allow saving files as FITs; you have the option of saving as 8 bit or 16 bit. I attempted both of these on a standard .st6 file and then loaded the resulting .img files into the PC pgm IMDISP (available free from the JPL ftp site). In viewing the header info for each .img file, there is no header line BZERO in the 8 bit image, but there is a BZERO=32768 line in the header for the 16 bit image. However, in the IMDISP program, I was able to view and do image manipulation on the 8 bit .img image, but nothing appeared on the screen after loading the 16 bit .img file. The program said it had loaded the image (the 16 bit one), but I was unable to obtain any screen display and no error messages were present, so I'm not certain if I neglected to do something else to bring up the 16 bit display or if there is some other data in the header that is different or missing. Hmmmm. In comparing other 8 bit images that came with IMDISP, they also do not have a BZERO line in the header. There was no 16 bit image to do a comparison with. BTW, the extension .img is used in the IMDISP with their image files, so that is what I used when converting the .st6 files to FITS.