-
The new GApplication logger support function take the chattiness level as the first argument.
-
These functions are not really observation utilities, and they are not really needed either since they encapsulate only a few lines of code.
-
To avoid code duplication in cscripts the support modules "modutils' and "ioutils" have been added. The obsolete functions cntmap() and modmap() have been removed from the "obsutils" module.
-
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.
-
(still need to remove some debug statements later)
-
…oid code duplication in cscripts.
-
This command was run: autopep8 --select E101,W191 --in-place --recursive . It fixes only these two issues: - W191 indentation contains tabs - E101 indentation contains mixed spaces and tabs