;----- ; %***% Obsid 1103, Capella ; ; COMMENTS: ; Process using TDET coordinates... to show in det coord.s obs_anal, 'FITS/'+ $ 'acisf1103_000N001_g02346Elt10s4G110_evt1.fits', $ OUTPUT_PREFIX = 'obsid_1103', OUT_DIR='Obs_out', $ COORDS_NAME='TDET', $ /OVERRIDE_ZERO, /ASPECT, /CENTER_STREAK, $ CD_WIDTH=1.0, /LINE, $ GRATING='HETG', DETECTOR='ACIS-S', $ ORDER_SEL_ACCURACY = 0.4 ; Old gain correction, not needed: ;;GAIN_FAC=[1.0,1.0,1.0,1.0, $ ;; 1.54,1.11,1.18,1.00,1.11,1.18] ; Get roll angle for below from: ;; sol_plot, '/nfs/atum/d2/hetgs/obsid_1103/pcadf1103_000N001_asol1.fits' ; Process using Sky coordinates rotated to detector axes obs_anal, 'FITS/'+ $ 'acisf1103_000N001_g02346Elt10s4G110_evt1.fits', $ OUTPUT_PREFIX = 'obsid_1103', OUT_DIR='Obs_out', $ COORDS_NAME='Sky', /FLIPY, ROLLAXAY=-98.324336, $ /OVERRIDE_ZERO, /CENTER_STREAK, $ CD_WIDTH=0.40, /LINE, $ GRATING='HETG', DETECTOR='ACIS-S', $ ORDER_SEL_ACCURACY = 0.3, $ /EXPORT ; Make standard image! sel = where(oa_Etouse GT 0.3 AND oa_Etouse LT 10.0 AND $ ABS(oa_AY - oa_aveAY) LT 350.0 ) ; ABS(oa_AX - oa_aveAX) GT 2.0) ; if needed: get rid of bright ; (not piled-up) zero order core Xtouse = oa_AX(sel) Ytouse = oa_AY(sel) Etouse = oa_Etouse(sel) set_plot,'X' xye_image, xtouse, ytouse, etouse, /LOG, $ xbin=6.0, ybin=6.0, gif_file='Obs_out/Obs1103_image.gif', ONE=0.4 ; Make zero-order image! sel = where(oa_Etouse GT 0.3 AND oa_Etouse LT 10.0 AND $ ABS(oa_AY - oa_aveAY) LT 300.0 AND $ ABS(oa_AX - oa_aveAX) LT 300.0 ) ; ABS(oa_AX - oa_aveAX) GT 2.0) ; if needed: get rid of bright ; (not piled-up) zero order core Xtouse = oa_AX(sel) Ytouse = oa_AY(sel) Etouse = oa_Etouse(sel) set_plot,'X' xye_image, xtouse, ytouse, etouse, /LOG, $ xbin=1.5, ybin=1.5, gif_file='Obs_out/Obs1103_zo_image.gif', ONE=0.4