Commit 6a4cbbc4bbf3f2a74d35716b4378bc9daa02db69

Authored by Jürgen Knödlseder
1 parent 6d3196df

Add csresmap.resmap() method

cscripts/csresmap.py
... ... @@ -285,6 +285,18 @@ class csresmap(ctools.csobservation):
285 285 # Return
286 286 return
287 287  
  288 + def resmap(self):
  289 + """
  290 + Return residual map
  291 +
  292 + Returns
  293 + -------
  294 + map : `~gammalib.GSkyMap'
  295 + Residual sky map
  296 + """
  297 + # Return
  298 + return self._resmap
  299 +
288 300  
289 301 # ======================== #
290 302 # Main routine entry point #
... ...
cscripts/csresspec.py
... ... @@ -703,11 +703,13 @@ class csresspec(ctools.csobservation):
703 703 # Return
704 704 return
705 705  
706   - def residuals(self):
  706 + def resspec(self):
707 707 """
708 708 Return residual FITS file
709 709  
710   - Returns:
  710 + Returns
  711 + -------
  712 + fits : `~gammalib.GFits'
711 713 FITS file containing residuals
712 714 """
713 715 # Return
... ...