-
The ctbkgcube tool generates a background model for cube-style analysis.
-
* Checked the code for coding conventions. * Renamed the angular seperation user parameters to amax and anumbins. "a" stands for angular separation, "d" for delta is less explicit. * Add ctpsfcube executable unit test
-
WARNING: The philosophy behind the ctbin tool changed fundamentally! ctbin now always produces a single counts cube on output. If a single event list is specified on input, the functionnality is basically unchanged. If multiple event lists are specified, however, events are now merged into a single counts cube file. No observation definition XML file is written anymore! So far, ctbin still writes pointing information in the counts cube, although this is not necessarily meaningful if merging event lists with different pointings. In the long run, pointing information will be summarized in a pointings definition file, and will be removed from the counts cube header. The logic is that the pointing definition is set to the map centre. This is only identical to the pointing in case of binning a single event list and using the usepnt=yes option (or specifying the pointing manually as the xref and yref parameters).
-
ctobssim was not fully thread save as the models were shared among the threads which led to concurrent memory access when evaluating the Monte Carlo cache. The models are now copied within the parallel section, avoiding concurrent memory access (#1258).
-
Conflicts: ChangeLog scripts/cta_root2caldb.py src/ctlike/ctlike.par src/ctobssim/ctobssim.par
-
…on::load method to avoid creation of temporary file in ctselect::select_events method.
-
Conflicts: ChangeLog NEWS scripts/cspull.py
-
Conflicts: ChangeLog NEWS
-
The instrument and id attributes provided by an observation were not considering when simulating source and background events. This has been changed now that only events will be simulated when the instrument and id are valid for a given model.
-
Conflicts: ChangeLog NEWS
-
…nt projections are proposed in parameter file.
-
Background simulations can now be done for any model of type GModelData. This is thanks to the abstract mc() method that has been introduced in GModelData. A test case for the new GCTABackground model has been added to the unit tests.
-
…g so that also sources outside but at the edge of the ROI will be simulated.
-
GammaLib is undergoing a major interface change which requires adaption of the ctools code.
-
Conflicts: .gitignore ChangeLog
-
ctlike now computes the observed number of events and dumps the information just before the predicted number of events into the log file. The difference between the observed and predicted number of events is also given so that one knows immediately if the fit behaved as it should. This commit closes actions #87 and #88 and the feature #54.
-
In case that the observation container holds more than a single observation, ctobssim now outputs an observation definition XML file in addition to the event files. The filenames of the event files will be stored in the observation definition XML file so that subsequent ctools can handle all observational data together.