Commit 9f2207a8fbc69b4dd3526eeb16d86ad5dac97b67

Authored by Jürgen Knödlseder
1 parent 97a1d815

Update HDUCLASS keywords

Showing 1 changed file with 7 additions and 7 deletions
cscripts/csroot2caldb.py
... ... @@ -125,34 +125,34 @@ class csroot2caldb(ctools.cscript):
125 125 irf['REF_TIME'] = 51544.0
126 126 irf['EA_NAME'] = 'EFF_AREA'
127 127 irf['EA_HDUCLAS3'] = 'FULL-ENCLOSURE'
128   - irf['EA_HDUCLAS4'] = 'AEFF_2D'
  128 + irf['EA_HDUCLAS4'] = '2D'
129 129 irf['EA_DOC'] = 'CAL/GEN/92-019'
130 130 irf['EA_BOUNDS'] = copy.deepcopy(cal_bounds)
131 131 irf['EA_DESC'] = 'CTA effective area'
132 132 irf['PSF_NAME'] = 'RPSF'
133 133 irf['PSF_HDUCLAS3'] = 'FULL-ENCLOSURE'
134   - irf['PSF_HDUCLAS4'] = 'PSF_3GAUSS'
  134 + irf['PSF_HDUCLAS4'] = '3GAUSS'
135 135 irf['PSF_DOC'] = 'CAL/GEN/92-020'
136 136 irf['PSF_BOUNDS'] = copy.deepcopy(cal_bounds)
137 137 irf['PSF_DESC'] = 'CTA point spread function'
138 138 irf['EDISP_NAME'] = 'EDISP'
139 139 irf['EDISP_HDUCLAS3'] = 'FULL-ENCLOSURE'
140   - irf['EDISP_HDUCLAS4'] = 'EDISP_2D'
  140 + irf['EDISP_HDUCLAS4'] = '2D'
141 141 irf['EDISP_DOC'] = '???'
142 142 irf['EDISP_BOUNDS'] = copy.deepcopy(cal_bounds)
143 143 irf['EDISP_DESC'] = 'CTA energy dispersion'
144   - irf['BGD_NAME'] = 'BGD'
  144 + irf['BGD_NAME'] = 'BKG'
145 145 irf['BGD_HDUCLAS3'] = 'FULL-ENCLOSURE'
146   - irf['BGD_HDUCLAS4'] = 'BKG_3D'
  146 + irf['BGD_HDUCLAS4'] = '3D'
147 147 irf['BGD_DOC'] = '???'
148 148 irf['BGD_BOUNDS'] = copy.deepcopy(cal_bounds)
149 149 irf['BGD_DESC'] = 'CTA background'
150 150  
151 151 # Set parameter dependent IRF information
152 152 if self['psftype'].string() == 'King':
153   - irf['PSF_HDUCLAS4'] = 'PSF_KING'
  153 + irf['PSF_HDUCLAS4'] = 'KING'
154 154 else:
155   - irf['PSF_HDUCLAS4'] = 'PSF_3GAUSS'
  155 + irf['PSF_HDUCLAS4'] = '3GAUSS'
156 156  
157 157 # Return metadata
158 158 return irf
... ...