Need to update and/or create new flags for the CdTe data, to make the best selection possible of "good" events.
Need to look carefully at the following lines in the level0 to level1 routine, to see if what was applied previously to only Si detectors can now be applied to CdTe data
; different geometry for CdTe detectors. Now that we changed the way the detector
; coordinates are calculated for CdTe this should be apply also to CDTE detectors
if not keyword_set( CDTE ) then begin
check = where(data_struct.hit_xy_det[0] lt 3 or data_struct.hit_xy_det[0] gt 124 or $
data_struct.hit_xy_det[1] lt 3 or data_struct.hit_xy_det[1] gt 124)
data_struct[check].error_flag = data_struct[check].error_flag + 32
endif
Need to update and/or create new flags for the CdTe data, to make the best selection possible of "good" events.
Need to look carefully at the following lines in the level0 to level1 routine, to see if what was applied previously to only Si detectors can now be applied to CdTe data
; different geometry for CdTe detectors. Now that we changed the way the detector ; coordinates are calculated for CdTe this should be apply also to CDTE detectors if not keyword_set( CDTE ) then begin check = where(data_struct.hit_xy_det[0] lt 3 or data_struct.hit_xy_det[0] gt 124 or $ data_struct.hit_xy_det[1] lt 3 or data_struct.hit_xy_det[1] gt 124) data_struct[check].error_flag = data_struct[check].error_flag + 32 endif