-
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.
-
The deadtime is controlled using the deadc parameter. An additional MC process decides whether a photon event or a background event falls within a dead period of the system or not.
-
Do no longer query output parameters first.