From 9fd8ce1a161a7f1eb72f232e9f76b9cc61485a68 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Tue, 14 Oct 2014 22:38:34 +0200 Subject: [PATCH] Code integration (some minor tweeking of code formatting and code documentation) --- scripts/csresmap.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/csresmap.py b/scripts/csresmap.py index a916441..320a200 100755 --- a/scripts/csresmap.py +++ b/scripts/csresmap.py @@ -1,9 +1,8 @@ #! /usr/bin/env python # ========================================================================== -# This script generates the TS distribution for a particular model based -# on Monte-Carlo simulations. +# Residual map generation script. # -# Copyright (C) 2011-2014 Juergen Knoedlseder +# Copyright (C) 2014 Michael Mayer # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -56,6 +55,7 @@ class csresmap(gammalib.GApplication): self.obs = gammalib.GObservations() self.obs.clear() self.outfile = "" + # Make sure that parfile exists file = self.parfile() @@ -281,9 +281,6 @@ class csresmap(gammalib.GApplication): residualmap = gammalib.GSkymap(bin["outfile"].filename()) residualmap.stack_maps() - - - # continue calculations depending on given algorithm if self.m_algorithm == "SUB": @@ -318,8 +315,6 @@ class csresmap(gammalib.GApplication): # Return return - - # ======================== # -- libgit2 0.21.4