PRO JAN20overlay, PS=ps, TIMES=times, BEAM=beam ; ; Prepares an overlay plot of TRACE, 250-500 keV contours and 2.2 MeV circles. ; ; 13-May-05 Initial version, adapted from NOV02overlay.pro ; 17-May-05 gh Incorporated TRACE pointing corrections ; 28-Nov-05 gh Updated to reflect November 26 mapping results. ; ; beam = FWHM beam diameter to be overlaid ; ; See Sam Krucker's emails of 3 Dec 2003 and 25 May 2004. ; cs = 1.4 ; 1.0 or 1.4, depending on how plot looks ; IF KEYWORD_SET(ps) THEN BEGIN SET_PLOT, 'ps' DEVICE, /COLOR, BITS_PER_PIXEL=8 ENDIF ; ; Plot TRACE map fits2map, 'c:\HESSI_DATA\SYNOPTIC\trac_1600___a2_20050120_065230.fts', tmap tmap.xc=tmap.xc-9. ; Correct TRACE pointing per Sam Krucker's 5/15/05 email tmap.yc=tmap.yc+9.5 LOADCT, 8 ; GREEN/WHITE LINEAR tmap.data = -tmap.data ; reverse to make a white background PLOT_MAP, tmap, FOV=[3.,3.] ; ; Overplot 250-500 electron map fits2map, 'jan20-4.fits', xmap maxx = MAX(xmap.data) LOADCT, 6 ; PRISM PLOT_MAP, xmap, /OVER, /CONT, LEVELS=[0.3,.5,.7,.9]*maxx, LCOLOR=64, CTHICK=2 ; ; Overplot 2.2MeV centroid locations OPLOT_C, 820, 230, 22.5, 22.5, COLOR=192, THICK=4, LINESTYLE=1 OPLOT_C, 803, 275, 4.8, 4.8, COLOR=192, THICK=4 XYOUTS, 795., 345., '250-500 keV 6+9', COLOR=64, CHARTHICK=2, CHARSIZE=1.4 XYOUTS, 795., 335., '2218-2228 keV 6,9', COLOR=192, CHARTHICK=2, CHARSIZE=1.4 ; ; OPLOT_C, 750,200, 17.5,17.5, COLOR=0 XYOUTS, 738, 196, 'BEAM', COLOR=0, CHARSIZE=1.5 ;OPLOT_C, 750, 200, 91.5, 91.5, COLOR=192, LINESTYLE=1 IF KEYWORD_SET(ps) THEN BEGIN DEVICE,/CLOSE SET_PLOT, 'win' ENDIF END