............................... Date: Wed, 24 Feb 1999 12:06:38 Who: Tim Conrow Subject: pawireseg usage Original file: /home/tab/timm.t ............................... From listmaster Wed Feb 24 12:06 PST 1999 Date: Wed, 24 Feb 1999 12:06:38 -0800 From: Tim Conrow To: tab@ipac.caltech.edu, WIRE mail list CC: hurt@ipac.caltech.edu Subject: pawireseg usage I've written a pretty useful looking skyview front end for viewing a segment's worth of images. Plus it can do other amazing tricks. Thanks to Robert Hurt for some key clues on doing some of the neater stuff here. Simply pawireseg executed from a segment directory will paint up a segment's worth of raw, rectified frames, the coadd, flat, stimflash and diag image and leave you in skyview interactively. Pawireseg is in /proj/wire/bin. It's VERY fresh code, so use observantly and with a critical eye. Options: pawireseg -d dir will do the same as above for a segment in another dir. From anywhere you may do pawireseg ... explicit-file-list to paint up an explicitly named set of files, which must include their dir if they are not in the current dir; i.e. THE -d OPTION DOESN'T WORK for explicit file lists. (Be aware that pawireseg is optimized for displaying segment data. It isn't for general image display and may do wierd things if you try it on arbitrary data.) pawireseg -r ... will overlay rad hits on the frames. pawireseg -s ... will overlay DAOPhot extractions on the coadds. pawireseg -help will print out a brief usage reminder. AFTER all the arg.s above have been specified, you may specify a standard '-rn' (rootname) argument (and -s and -e if you wish), just as you would for the pipeline, but don't use the -d option with this, and don't use it with file lists. Consider this an option for advanced users only. Now some nifty stuff: pawireseg -b ... will run skyview in batch mode (i.e. it executes without displaying anything and exits when done) and will create a 'plots/jpegs' subdir of the current dir where it will store a complete set of jpegs of everything it would have displayed intereactively, and an 'html' subdir where it places an index.html file for displaying those jpegs in a browser. To set where the html goes, do pawireseg -b -html html-dir ... and to control where the jpegs go, do pawireseg -b -jpeg jpeg-dir Jpegs and html are ONLY generated in batch mode, so specifying -html or -jpeg will turn on batch mode. The -b above was superfluous, but good for clarity. -- -- Tim Conrow tim@ipac.caltech.edu work:626-397-9578 fax:626-397-7354