;----- ; %***% Obsid 57, Capella ; ; COMMENTS: ; Process using TDET coordinates... to show in det coord.s obs_anal, '/nfs/wiwaxia/d8/hetgs/obsid_57/req456/'+ $ 'acism00057_000N001_g02346Elt10_evt1.fits', $ OUTPUT_PREFIX = 'obsid_57', 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.3 ; Get roll angle for below from: ;; sol_plot, '/nfs/wiwaxia/d8/hetgs/obsid_57/req456/pcadm068488883N000_asol1.fits' ; Process using Sky coordinates rotated to detector axes obs_anal, '/nfs/wiwaxia/d8/hetgs/obsid_57/req456/'+ $ 'acism00057_000N001_g02346Elt10S4_evt1.fits', $ OUTPUT_PREFIX = 'obsid_57', OUT_DIR='Obs_out', $ COORDS_NAME='Sky', /FLIPY, ROLLAXAY=-271.53875, $ /OVERRIDE_ZERO, /CENTER_STREAK, $ CD_WIDTH=0.5, /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/Obs57_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/Obs57_zo_image.gif', ONE=0.4 ; Look at some lines: ; MEG 15A: ;;meas_line_angle, 2, 15.01 ;;meas_line_angle, 2, 15.01, /VERB ; HEG 15A: ;;meas_line_angle, 1, 15.01 ;;meas_line_angle, 1, 15.01, /VERB