Commit 6b6b57008fc291ab239e4aa572614eaf717b3230
1 parent
90e04b2d
Update documentation
Showing
1 changed file
with
3 additions
and
7 deletions
scripts/cta_kb_root2caldb.py
| 1 | #! /usr/bin/env python | 1 | #! /usr/bin/env python |
| 2 | # ========================================================================== | 2 | # ========================================================================== |
| 3 | -# This script generates ASCII performance files and file functions for | ||
| 4 | -# background modelling from MC ROOT files. On input it takes the filename | ||
| 5 | -# of the ROOT performance file while on output it produced 2 ASCII files. | ||
| 6 | -# The file "performance.dat" contains the performance data in the usual | ||
| 7 | -# ASCII format, the file "background.txt" contains a file function that can | ||
| 8 | -# be used within GammaLib for spectral background modelling. | 3 | +# This script generates CALDB compliant performance tables from MC ROOT |
| 4 | +# files. | ||
| 9 | # | 5 | # |
| 10 | # Note that the effective area given in the ASCII file is the full effective | 6 | # Note that the effective area given in the ASCII file is the full effective |
| 11 | # area (i.e. the area before applying any theta cut). This is required by | 7 | # area (i.e. the area before applying any theta cut). This is required by |
| 12 | # GammaLib as the maximum likelihood analysis does not imply any theta cut. | 8 | # GammaLib as the maximum likelihood analysis does not imply any theta cut. |
| 13 | # | 9 | # |
| 14 | -# Copyright (C) 2011-2014 Juergen Knoedlseder | 10 | +# Copyright (C) 2014 Juergen Knoedlseder |
| 15 | # | 11 | # |
| 16 | # This program is free software: you can redistribute it and/or modify | 12 | # This program is free software: you can redistribute it and/or modify |
| 17 | # it under the terms of the GNU General Public License as published by | 13 | # it under the terms of the GNU General Public License as published by |