Commit 24cd52b850985deecec1cd4543c08a84f19ab88e

Authored by Michael Mayer
1 parent d9f31901

allow usage of not optimised xml models in the limit calculations

doc/source/reference_manual/ctulimit.rst
... ... @@ -19,7 +19,7 @@ General parameters
19 19 Input event list, counts cube or observation definition XML file.
20 20  
21 21 ``inmodel [file]``
22   - Model XML file containing the optimised source and background definitions.
  22 + Model XML file containing the source and background definitions.
23 23  
24 24 ``srcname [string]``
25 25 Name of model component for which upper limit should be computed.
... ...
test/test_ctools.sh
... ... @@ -605,8 +605,8 @@ $ECHO " ok"
605 605 # Test ctulimit
606 606 # ===============
607 607 $ECHO -n "Test ctulimit: "
608   -$ctulimit inobs="selected_events.fits" \
609   - inmodel="results_unbinned.xml" \
  608 +$ctulimit inobs="data/crab_events.fits.gz" \
  609 + inmodel="data/crab.xml" \
610 610 srcname="Crab" \
611 611 outfile="ulimit.dat" \
612 612 caldb="irf" \
... ...
test/test_ctulimit.py
... ... @@ -39,7 +39,7 @@ class Test(gammalib.GPythonTestSuite):
39 39  
40 40 # Set members
41 41 self.events_name = "data/crab_events.fits"
42   - self.model_name = "result.xml"
  42 + self.model_name = "data/crab.xml"
43 43 self.caldb = "irf"
44 44 self.irf = "cta_dummy_irf"
45 45  
... ...