From fitz@noao.edu Mon May 4 09:46:03 1992 X-VM-VHeader: ("From:" "Sender:" "Resent-From" "To:" "Apparently-To:" "Cc:" "Subject:" "Date:" "Resent-Date:") nil X-VM-Bookmark: 3 Status: RO X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] [nil nil nil nil nil nil nil nil nil nil nil nil "^From:" nil nil nil]) Newsgroups: sci.astro.fits Organization: National Optical Astronomy Observatories, Tucson, AZ, USA From: fitz@noao.edu (Mike Fitzpatrick) Subject: Re: SAOimage and FITS Date: Sun, 3 May 1992 08:24:43 GMT Hi Ryan, Basically the is no way to change the command's behavior using other flags/switches/whatevers. A quick tour of the code (I can't actually display an image from my terminal right now) shows that the image scale map is reset for the new image, but I'm not sure whether what you want it to do (or what you are seeing) is to rescale the display based on the new image min and max, or preserve the old transformation. You could try looping over each image as in: % foreach i (*.fts) > saoimage -fits $i:r.fts > end to display the images scaled individually (is this what you want?). If you've changed the scaling by moving the mouse and want to preserve that somehow you might try playing with the [r]min/[r]max switches to define a specific trans- formation for each image. In general the IRAF group is supporting SAOimage so questions may be directed to iraf@noao.edu, although we do monitor this group. I hope this helps. Mike Fitzpatrick NOAO/IRAF Group fitz@noao.edu or 5355::fitz From alberto@cfa203.HARVARD.EDU Tue Mar 9 16:34:19 1993 Status: RO X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1224" "" "9" "March" "93" "18:44:50" "GMT" "Alberto Accomazzi" "alberto@cfa203.HARVARD.EDU " nil "29" "Re: Negative bitpix values and SAOIMAGE" "^From:" nil nil "3"]) Newsgroups: sci.astro.fits Organization: Smithsonian Astrophysical Observatory, Cambridge, MA, USA From: alberto@cfa203.HARVARD.EDU (Alberto Accomazzi) Subject: Re: Negative bitpix values and SAOIMAGE Date: 9 Mar 93 18:44:50 GMT >From article <1nfpoqINNiok@mailgzrz.TU-Berlin.DE>, by gottsch@mikro.ee.tu-berlin.de (Gert Gottschalk): > Hi there, > > I am using saoimage (under X11r5) to view fitsimages. Now it seems that > the 16 Bit that saoimage reads are signed (-32768 ... +32767). This gives > me some trouble with colormaps and their manipulation. (I can't get to > a Backgroundsignal of 0) Did you try $ saoimage -fits -min 0 -max 32767 -linear file.fits (you can make the max be whatever you want to be). If you want to interpret the data as unsigned (overriding the standard FITS interpretation) you can try: $ saoimage -u2 cols rows -min min_val -max max_val -skip header_size file.fits where header_size is a multiple of 2880. > Is there a simple tool that eats fits format tells me the pixelrange and > transforms this range into a usersupplied new range (preferrably linear) > and writes out a new fits file with the new range ? IRAF can do that. Look at the help pages on imstatistics and imarith in the images package. - Alberto ========== Alberto Accomazzi Harvard-Smithsonian Center for Astrophysics alberto@cfa.harvard.edu 60 Garden Street, MS 39 (617) 495-7076 Cambridge, MA 02138 USA From fitz@noao.edu Tue Mar 9 16:35:51 1993 Status: RO X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["544" "Tue" "9" "March" "1993" "19:13:42" "GMT" "Mike Fitzpatrick" "fitz@noao.edu " nil "13" "Re: saoimage: Is there documentation?" "^From:" nil nil "3"]) Newsgroups: sci.astro Originator: fitz@pisces.tuc.noao.edu Nntp-Posting-Host: pisces.tuc.noao.edu Organization: National Optical Astronomy Observatories, Tucson, AZ, USA From: fitz@noao.edu (Mike Fitzpatrick) Subject: Re: saoimage: Is there documentation? Date: Tue, 9 Mar 1993 19:13:42 GMT >From article <1nifvv$dcu@vela.acs.oakland.edu>, by mje@pookie.pass.wayne.edu (Michael J. Edelman): > I have a copy of saoimage, but somehow I filed to find any documentation > for it. (I downloaded a binary.) Can someone direct me to docs or source? Source for SAOimage can be found on iraf.noao.edu (140.252.1.1) in the iraf.old directory as "saoimage.tar.Z". This is the latest version (V1.07), the doc subdirectory probably has what you need (misc hints, man page, and a User's Guide). Mike Fitzpatrick NOAO/IRAF Group fitz@noao.edu