id2nam $SSW/trace/idl/ops/id2nam.pro
[Previous] [Next]
NAME:
	id2nam
PURPOSE:
	Translate sequence/frame/target IDs to the name
SAMPLE CALLING SEQUENCE:
	nam = id2nam( values, 'SEQ' )
	nam = id2nam( values, 'SEQ', /pad)
 CALLS: ***
	CONCAT_DIR [1], CONCAT_DIR [2], CONCAT_DIR [3], ID2NAM_RD, concat_dir [4]
	rd_tfile [1], rd_tfile [2], str_replace [1], str_replace [2]
OPTIONAL KEYWORD INPUT:
	pad	- If set, then pad with trailing blanks so that the
		  format statement ends up left justified
HISTORY:
	Written 28-Aug-97 by M.Morrison
	30-Sep-97 (MDM) - Added /PAD option
       30-Mar-98 (SLFreeland) - change /tsw (hardcoded) -> $SSW_TRACE/ 
	 7-Apr-98 (MDM) - Changed dir to use TOPS_PATH (/tsw/obs/dbase)


img_sumtr2 $SSW/trace/idl/util/img_sumtr2.pro
[Previous] [Next]
NAME:
       img_sumtr2
PURPOSE:
       To display summary information of an image.  Display the image
       along with histograms and line plots, plus other text info.
	using the TRACE index header
SAMPLE CALLING SEQUENCE:
       img_sumtr2, img, index 
       img_sumtr2, img, index, 'Main Title Example', ['comment1','comment2']
       img_sumtr2, img, index, margin=2, brightest=8, dimmest=8
       img_sumtr2, img, index, tit, comments, hc=hc, qstop=qstop, $
               scl_min=scl_min, scl_max=scl_max, log_scale=log_scale, $
               brightest=brightest, dimmest=dimmest, $
               margin=margin, progver=progver2
									;line 20
INPUT:
       img     - The image to be summarized
	index   - The image header index
OPTIONAL INPUT:
       tit     - The title to be displayed
       comments- A string array of comments to display
 CALLS: ***
	STR2ARR [1], STR2ARR [2], get_infox, img_summary [1], img_summary [2], str_subset
	strjustify
OPTIONAL KEYWORD INPUT:
       brightest - Print out information on the brightest pixel
                 locations (default=4) and their values.  The number
                 of values displayed is the value which is passed in.
       dimmest - Print out information on the dimmest pixel
                 locations (default=4) and their values.  The number
                 of values displayed is the value which is passed in.
       margin  - Print the min/max/avg/dev for the image less 
                 "margin" pixels (default=4) on the left/right/top/bottom
                 (ie: margin=1 says ignore first/last columns/lines)
       hc      - If set, make a hardcopy (do not display to the screen)
       scl_min - The minimum to use for stretching
       scl_max - The maximum to use for stretching
       log_scale- If set, display the second form of the image in log
                 scaling (rather than +/- 1 sigma)
       qstop   - If set, stop for debugging (in img_summary)
       progver - The outside program name and version
HISTORY:
       Written 21-Jan-99 by R.W.Nightingale to interface with
		IMG_SUMMARY, producing summaries similar to XDISP_TRACE2