From 24cd52b850985deecec1cd4543c08a84f19ab88e Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 9 Feb 2015 10:33:00 +0100 Subject: [PATCH] allow usage of not optimised xml models in the limit calculations --- doc/source/reference_manual/ctulimit.rst | 2 +- test/test_ctools.sh | 4 ++-- test/test_ctulimit.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/reference_manual/ctulimit.rst b/doc/source/reference_manual/ctulimit.rst index 2592ad1..cd0cce5 100644 --- a/doc/source/reference_manual/ctulimit.rst +++ b/doc/source/reference_manual/ctulimit.rst @@ -19,7 +19,7 @@ General parameters Input event list, counts cube or observation definition XML file. ``inmodel [file]`` - Model XML file containing the optimised source and background definitions. + Model XML file containing the source and background definitions. ``srcname [string]`` Name of model component for which upper limit should be computed. diff --git a/test/test_ctools.sh b/test/test_ctools.sh index a1254d0..0984d7c 100755 --- a/test/test_ctools.sh +++ b/test/test_ctools.sh @@ -605,8 +605,8 @@ $ECHO " ok" # Test ctulimit # =============== $ECHO -n "Test ctulimit: " -$ctulimit inobs="selected_events.fits" \ - inmodel="results_unbinned.xml" \ +$ctulimit inobs="data/crab_events.fits.gz" \ + inmodel="data/crab.xml" \ srcname="Crab" \ outfile="ulimit.dat" \ caldb="irf" \ diff --git a/test/test_ctulimit.py b/test/test_ctulimit.py index bf99502..04f300c 100755 --- a/test/test_ctulimit.py +++ b/test/test_ctulimit.py @@ -39,7 +39,7 @@ class Test(gammalib.GPythonTestSuite): # Set members self.events_name = "data/crab_events.fits" - self.model_name = "result.xml" + self.model_name = "data/crab.xml" self.caldb = "irf" self.irf = "cta_dummy_irf" -- libgit2 0.21.4