PRO JAN20overlay511, PS=ps, TIMES=times, BEAM=beam ; ; Prepares an overlay plot of TRACE, 250-500 keV contours and 511 data 2.2 MeV circles. ; ; 4-Jun-05 gh Adapted from JAN20overlay.pro (17-May vsn) ; ; 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 XYOUTS, 795., 345., '250-500 keV 6+9', COLOR=64, CHARTHICK=2, CHARSIZE=1.4; ; ; Overplot 511 grid 9 centroids OPLOT_C, 848.3, 253.2, 15.2, 15.2, COLOR=0, THICK=4, LINESTYLE=1 ; 9F dotted line OPLOT_C, 836.2, 227.0, 15.0, 15.0, COLOR=0, THICK=4, LINESTYLE=2 ; 9R dashed line XYOUTS, 795., 335., '500-520 keV 9F,9R', COLOR=0, CHARTHICK=2, CHARSIZE=1.4 ; ; 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., 325., '2218-2228 keV 6,9', COLOR=192, CHARTHICK=2, CHARSIZE=1.4 ; IF KEYWORD_SET(ps) THEN BEGIN DEVICE,/CLOSE SET_PLOT, 'win' ENDIF END