From 167a6787b9a8c7de140c8580f633f3d78b71875d Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 30 Oct 2014 11:05:33 +0100 Subject: [PATCH] Remove tscalc keyword from fit() function. --- pyext/ctools/obsutils.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyext/ctools/obsutils.py b/pyext/ctools/obsutils.py index 5c46566..e5659c8 100755 --- a/pyext/ctools/obsutils.py +++ b/pyext/ctools/obsutils.py @@ -125,7 +125,7 @@ def sim(obs, log=False, debug=False, edisp=False, seed=0, nbins=0, # ================ # # Fit observations # # ================ # -def fit(obs, log=False, debug=False, edisp=False, tscalc=False): +def fit(obs, log=False, debug=False, edisp=False): """ Perform maximum likelihood fitting of observations in the container. @@ -147,10 +147,6 @@ def fit(obs, log=False, debug=False, edisp=False, tscalc=False): if debug: like["debug"].boolean(True) - # Optionally turn on TS calculation - if tscalc: - like["tscalc"].boolean(True) - # Optionally apply energy dispersion like["edisp"].boolean(edisp) -- libgit2 0.21.4