Commit cbca2334cb365c03ddd68da7537e43c9fc9c9c0b
1 parent
2477bbaa
update script names
Showing
2 changed files
with
14 additions
and
13 deletions
examples/Makefile.am
| ... | ... | @@ -2,11 +2,11 @@ |
| 2 | 2 | |
| 3 | 3 | # Scripts to be distributed |
| 4 | 4 | scripts = README \ |
| 5 | - binned_analysis.py \ | |
| 6 | - sensitivity_pull.py \ | |
| 5 | + make_binned_analysis.py \ | |
| 6 | + make_pull_at_sensitivity_limit.py \ | |
| 7 | + make_ts_distributions.py | |
| 8 | + make_unbinned_analysis.py \ | |
| 7 | 9 | show_pull_histogram.py \ |
| 8 | - ts_distributions.py \ | |
| 9 | - unbinned_analysis.py | |
| 10 | 10 | |
| 11 | 11 | # Set directories |
| 12 | 12 | scriptsdir = $(datadir)/examples/python | ... | ... |
examples/README
| 1 | 1 | This folder contains Python example scripts that illustrate the |
| 2 | 2 | usage of the ctatools. |
| 3 | 3 | |
| 4 | -binned_analysis.py | |
| 4 | +make_binned_analysis.py | |
| 5 | 5 | Example Python pipelines for binned analysis. |
| 6 | 6 | The first pipeline writes intermediate results to the disk while |
| 7 | 7 | the second pipeline keeps the results in memory. |
| ... | ... | @@ -9,27 +9,28 @@ binned_analysis.py |
| 9 | 9 | and the observed offset angle distribution is displayed in |
| 10 | 10 | counts space. |
| 11 | 11 | |
| 12 | -sensitivity_pull.py | |
| 12 | +make_pull_at_sensitivity_limit.py | |
| 13 | 13 | This script creates pull distributions as function of energy |
| 14 | 14 | for a test source that is at the 5 sigma sensitivity limit for |
| 15 | - 50h of effective observing time. | |
| 15 | + 50h of effective observing time. It takes as input file the | |
| 16 | + output file generated using cspull. | |
| 16 | 17 | If the Python processing module is installed the script can make |
| 17 | 18 | use of multiple cores and runs in parallel. |
| 18 | 19 | |
| 19 | -show_pull_histogram.py | |
| 20 | - Displays pull histograms from pull data generated by the | |
| 21 | - cspull script. | |
| 22 | - | |
| 23 | -ts_distributions.py | |
| 20 | +make_ts_distributions.py | |
| 24 | 21 | This script creates TS distributions as function of energy for |
| 25 | 22 | an off observation of 50h effective observing time. |
| 26 | 23 | If the Python processing module is installed the script can make |
| 27 | 24 | use of multiple cores and runs in parallel. |
| 28 | 25 | |
| 29 | -unbinned_analysis.py | |
| 26 | +make_unbinned_analysis.py | |
| 30 | 27 | Example Python pipelines for unbinned analysis. |
| 31 | 28 | The first pipeline writes intermediate results to the disk while |
| 32 | 29 | the second pipeline keeps the results in memory. |
| 33 | 30 | If matplotlib is installed on the system the fitted spectrum |
| 34 | 31 | and the observed offset angle distribution is displayed in |
| 35 | 32 | counts space. |
| 33 | + | |
| 34 | +show_pull_histogram.py | |
| 35 | + Displays pull histograms from pull data generated by the | |
| 36 | + cspull script. | ... | ... |