imlook

View a FITS image with a ds9 gui. The ds9_view routine is used, but in this version the user specifies the top-end (z2) grey level (i.e. 100 sigma, where sigm = skywid from cih.sh).

imlook ./t1.fits 100.0  

In Nov2015 I added some relatively simple additions to imlook. These features will not affect the command line calls, which may be fixed in other scripts, but if some local files are detected when imlook runs, then ceratin useful actions will be performed:

  1. If Default.reg" exists in the local directory, then imlook will automatically plot it.
  2. If "Default.greyscale" is present, then the z1 and z2 values for setting the image display greyscale are read from there and applied to the ds9 image being displayed.
As shown above, the imlook tool attempts (with cih.sh) to derive a reasonable scale, but sometimes we just wish to specify the (z1,z2) levels for an image and leave it at that.




Back to SCO CODES page