Commit 24cd52b850985deecec1cd4543c08a84f19ab88e
1 parent
d9f31901
allow usage of not optimised xml models in the limit calculations
Showing
3 changed files
with
4 additions
and
4 deletions
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