Commit 69050b94364e25fa5a48e75f5d2c7f27eb32e96f
1 parent
9a1c506d
Add observation definition support.
Do no longer query output parameters first.
Showing
2 changed files
with
57 additions
and
7 deletions
ChangeLog
| 1 | -2011-10-23 Juergen Knoedlseder <knodlseder@cesr.fr> | 1 | +2012-02-28 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 2 | 2 | ||
| 3 | * Version 0.4.0 released | 3 | * Version 0.4.0 released |
| 4 | ======================== | 4 | ======================== |
| 5 | 5 | ||
| 6 | - Renamed to ctools | 6 | + Add handling of observation definition XML files to ctselect, ctbin |
| 7 | + and ctlike | ||
| 8 | + No longer query output parameters first | ||
| 9 | + Remove method parameter from ctlike and replace evfile and cntmap | ||
| 10 | + parameters by infile parameter | ||
| 7 | Add configure options for Mac OSX universal builds | 11 | Add configure options for Mac OSX universal builds |
| 8 | Remove automake dependency tracking | 12 | Remove automake dependency tracking |
| 9 | Improve building of Python bindings | 13 | Improve building of Python bindings |
NEWS
| @@ -2,12 +2,14 @@ New Features and Important Changes in ctools 00-04-00 | @@ -2,12 +2,14 @@ New Features and Important Changes in ctools 00-04-00 | ||
| 2 | 2 | ||
| 3 | Author(s) : Juergen Knoedlseder | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | ||
| 5 | -October 23, 2011 | 5 | +February 28, 2012 |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | 1. Introduction | 8 | 1. Introduction |
| 9 | --------------- | 9 | --------------- |
| 10 | -This document briefly summarizes executable by executable the most important changes made since the last release of ctools. | 10 | +This document briefly summarizes executable by executable the most |
| 11 | +important changes made since the last release of ctools. | ||
| 12 | + | ||
| 11 | 13 | ||
| 12 | 2. Configuration | 14 | 2. Configuration |
| 13 | ----------------- | 15 | ----------------- |
| @@ -19,6 +21,7 @@ the default architecture created by the compiler. | @@ -19,6 +21,7 @@ the default architecture created by the compiler. | ||
| 19 | Remove automake dependency tracking as this conflicts with Mac OS X | 21 | Remove automake dependency tracking as this conflicts with Mac OS X |
| 20 | universal builds. | 22 | universal builds. |
| 21 | 23 | ||
| 24 | + | ||
| 22 | 3. Python interface | 25 | 3. Python interface |
| 23 | ------------------- | 26 | ------------------- |
| 24 | The Python binding building scheme from GammaLib has been adapted. | 27 | The Python binding building scheme from GammaLib has been adapted. |
| @@ -26,38 +29,81 @@ This avoids double compilation during 'make' and performs a special | @@ -26,38 +29,81 @@ This avoids double compilation during 'make' and performs a special | ||
| 26 | build during 'make check' that provides a Python module which is | 29 | build during 'make check' that provides a Python module which is |
| 27 | statically linked to the ctools library. | 30 | statically linked to the ctools library. |
| 28 | 31 | ||
| 32 | + | ||
| 29 | 4. ctobssim - CTA observation simulation | 33 | 4. ctobssim - CTA observation simulation |
| 30 | ---------------------------------------- | 34 | ---------------------------------------- |
| 31 | None | 35 | None |
| 32 | 36 | ||
| 37 | + | ||
| 33 | 5. ctselect - CTA event selection | 38 | 5. ctselect - CTA event selection |
| 34 | --------------------------------- | 39 | --------------------------------- |
| 35 | -None | 40 | +Added handling of observation definition XML files. ctselect can now |
| 41 | +operate on single FITS files or on observation definition XML files. | ||
| 42 | + | ||
| 43 | +If an observation definition XML file is used on input, selected event | ||
| 44 | +list(s) will be written in the current working directory by prepending | ||
| 45 | +a prefix to the filename after stripping any path information. The | ||
| 46 | +event list filenames in the input XML file are replaced by the selected | ||
| 47 | +event list filenames, and the result is written as XML file in the | ||
| 48 | +file specified by the outfile parameter. | ||
| 49 | + | ||
| 50 | +The output event list or observation definition file parameter is | ||
| 51 | +not queried any longer as first parameter. This gives a more logicial | ||
| 52 | +parameter interface where input parameters are queried first. | ||
| 53 | + | ||
| 36 | 54 | ||
| 37 | 6. ctbin - CTA event binning | 55 | 6. ctbin - CTA event binning |
| 38 | ---------------------------- | 56 | ---------------------------- |
| 39 | -None | 57 | +Added handling of observation definition XML files. ctbin can now |
| 58 | +operate on single FITS files or on observation definition XML files. | ||
| 59 | + | ||
| 60 | +If an observation definition XML file is used on input, counts map(s) | ||
| 61 | +will be written in the current working directory by prepending a prefix | ||
| 62 | +to the filename after stripping any path information from the event | ||
| 63 | +filenames. The event list filenames in the input XML file are replaced | ||
| 64 | +by the counts map filenames, and the result is written as XML file in the | ||
| 65 | +file specified by the outfile parameter. | ||
| 66 | + | ||
| 67 | +The output counts map or observation definition file parameter is | ||
| 68 | +not queried any longer as first parameter. This gives a more logicial | ||
| 69 | +parameter interface where input parameters are queried first. | ||
| 70 | + | ||
| 40 | 71 | ||
| 41 | 7. ctlike - CTA maximum likelihood fitting | 72 | 7. ctlike - CTA maximum likelihood fitting |
| 42 | ------------------------------------------ | 73 | ------------------------------------------ |
| 43 | -None | 74 | +Added handling of observation definition XML files. ctlike can now |
| 75 | +operate on single FITS files or on observation definition XML files. | ||
| 76 | + | ||
| 77 | +The analysis method is now determined from the input file type, | ||
| 78 | +and consequently, the method parameter has been removed. Furthermore, | ||
| 79 | +the evfile and cntmap parameters have been combined in a single infile | ||
| 80 | +parameter. | ||
| 81 | + | ||
| 82 | +The output model file parameter is not queried any longer as first | ||
| 83 | +parameter. This gives a more logicial parameter interface where input | ||
| 84 | +parameters are queried first. | ||
| 85 | + | ||
| 44 | 86 | ||
| 45 | 8. ctskymap - CTA sky mapping | 87 | 8. ctskymap - CTA sky mapping |
| 46 | ----------------------------- | 88 | ----------------------------- |
| 47 | New executable. | 89 | New executable. |
| 48 | 90 | ||
| 91 | + | ||
| 49 | 9. Examples | 92 | 9. Examples |
| 50 | ----------- | 93 | ----------- |
| 51 | None | 94 | None |
| 52 | 95 | ||
| 96 | + | ||
| 53 | 10. Scripts | 97 | 10. Scripts |
| 54 | ----------- | 98 | ----------- |
| 55 | None | 99 | None |
| 56 | 100 | ||
| 101 | + | ||
| 57 | 11. caldb | 102 | 11. caldb |
| 58 | --------- | 103 | --------- |
| 59 | None | 104 | None |
| 60 | 105 | ||
| 106 | + | ||
| 61 | 12. models | 107 | 12. models |
| 62 | ---------- | 108 | ---------- |
| 63 | None | 109 | None |