-
The pars() methods allow to assign or to retrieve all application parameters in a dictionary. Makes ctools a bit more "Pythonic".
-
This led to an invalid pointer problem before, is now fixed due to GammaLib fix.
-
Since the new GApplication logger methods are more compact than the old format the "logTerse()" etc. constructs have been replaced by the new logger methods. At the same time, the chattiness levels have been reviewed with the following behaviour: - TERSE: only headers - NORMAL: standard output, only main results or computations - EXPLICIT: detailed output - VERBOSE: verbose output, mainly for diagnostics
-
… cases, restructured csiactobs to avoid code duplication and added csobsdef::obs() function to retrieve observation container
-
# Conflicts: # cscripts/csiactcopy.py # cscripts/csiactdata.py
-
All example scripts now use the cscripts.ioutils.get_args_options() function to get arguments and options.
-
The obsutils.sim() function does not correctly handle stacked observations. It appends stacked response cubes to a counts cube in case that multiple observations have been simulated and stacked analysis was requested. The stacked response cube computation is done using the obsutils.get_stacked_response() function. The function obsutils.set_ts_model() has been added to setup a model for TS determination. This is used by some of the cscripts, and avoids code duplication. Finally, the cstsdist and cspull scripts have been refactored.