Commit 694b572566fff6b1d51c6eb359e451204a9e3e9c

Authored by Jürgen Knödlseder
1 parent 0c70d44e

Remove debugging code

Showing 1 changed file with 0 additions and 13 deletions
cscripts/cspull.py
... ... @@ -186,9 +186,6 @@ class cspull(ctools.cscript):
186 186 expcube['chatter'] = self._chatter
187 187 expcube['debug'] = self._logDebug()
188 188 expcube.run()
189   - # JK: Debug
190   - expcube['outcube'] = 'expcube.fits'
191   - expcube.save()
192 189  
193 190 # Notify exposure computation
194 191 if self._logTerse():
... ... @@ -210,9 +207,6 @@ class cspull(ctools.cscript):
210 207 psfcube['chatter'] = self._chatter
211 208 psfcube['debug'] = self._logDebug()
212 209 psfcube.run()
213   - # JK: Debug
214   - psfcube['outcube'] = 'psfcube.fits'
215   - psfcube.save()
216 210  
217 211 # Notify Psf computation
218 212 if self._logTerse():
... ... @@ -259,10 +253,6 @@ class cspull(ctools.cscript):
259 253 bkgcube['chatter'] = self._chatter
260 254 bkgcube['debug'] = self._logDebug()
261 255 bkgcube.run()
262   - # JK: Debug
263   - bkgcube['outcube'] = 'bkgcube.fits'
264   - bkgcube['outmodel'] = 'cube_model.xml'
265   - bkgcube.save()
266 256  
267 257 # Notify background cube computation
268 258 if self._logTerse():
... ... @@ -354,8 +344,6 @@ class cspull(ctools.cscript):
354 344 obs[0].response(self._exposure, self._psfcube,
355 345 self._bckcube)
356 346 obs.models(self._stackmodels)
357   - # JK: Test
358   - obs[0].save('stacked_cube.fits', True)
359 347  
360 348 # Determine number of events in simulation
361 349 nevents = 0.0
... ... @@ -476,7 +464,6 @@ class cspull(ctools.cscript):
476 464 self._log('\n')
477 465  
478 466 # Signal if stacked analysis is requested
479   - #stacked = self._obs.size() > 1 and self._enumbins > 0
480 467 stacked = self._enumbins > 0
481 468  
482 469 # If several observations and binned: prepare stacked irfs
... ...