Commit 9fd8ce1a161a7f1eb72f232e9f76b9cc61485a68

Authored by Jürgen Knödlseder
1 parent a32545cc

Code integration (some minor tweeking of code formatting and code documentation)

Showing 1 changed file with 3 additions and 8 deletions
scripts/csresmap.py
1 1 #! /usr/bin/env python
2 2 # ==========================================================================
3   -# This script generates the TS distribution for a particular model based
4   -# on Monte-Carlo simulations.
  3 +# Residual map generation script.
5 4 #
6   -# Copyright (C) 2011-2014 Juergen Knoedlseder
  5 +# Copyright (C) 2014 Michael Mayer
7 6 #
8 7 # This program is free software: you can redistribute it and/or modify
9 8 # it under the terms of the GNU General Public License as published by
... ... @@ -56,6 +55,7 @@ class csresmap(gammalib.GApplication):
56 55 self.obs = gammalib.GObservations()
57 56 self.obs.clear()
58 57 self.outfile = ""
  58 +
59 59 # Make sure that parfile exists
60 60 file = self.parfile()
61 61  
... ... @@ -281,9 +281,6 @@ class csresmap(gammalib.GApplication):
281 281 residualmap = gammalib.GSkymap(bin["outfile"].filename())
282 282 residualmap.stack_maps()
283 283  
284   -
285   -
286   -
287 284 # continue calculations depending on given algorithm
288 285 if self.m_algorithm == "SUB":
289 286  
... ... @@ -318,8 +315,6 @@ class csresmap(gammalib.GApplication):
318 315  
319 316 # Return
320 317 return
321   -
322   -
323 318  
324 319  
325 320 # ======================== #
... ...