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