-
The publish parameter has been added to the following tools: - ctbin - ctbkgcube - ctcubemask - ctexpcube - ctmodel - ctskymap - cttsmap
-
Added ctool::require_inobs_nocube() method that throws an exception if a counts cube has been specified as inobs parameter. This method is then used by ctbin, ctexpcube, ctpsfcube and ctbkgcube.
-
Without the energy margin, roundoff errors may lead to the exclusion of the energy bin in case that a single energy bin is used.
-
…d in observation ebounds. Also added some improvements to csspec.
-
…(see #1360 for details).
-
…)-function of individual ctools
-
…d scave() methods to ctool interface. Add read_ahead() method to handle reading of task parameters at the beginning of the task execution. Remove all m_read_ahead members from the derived classes.
-
…ovided by the base class
-
The ctool base class is now used in the ctbin tool. The get_ebounds() method has been moved to the ctool base class so that it can be used also in other tools. This reduces code duplication.
-
We do not want to fill cube bins outside the RoI to be consistent with the response and modelling part.
-
In the adaption to cube-style analysis, response and model information was lost in the observation container. Now, model information is conserved, and in case of a single CTA observation, response information is carried over. This provides support for the original binned analysis.
-
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).
-
…ions without corresponding input file names. Also changed code so that an XML is always written even if just one observation.
-
Output observation definition files are XML files, hence they should have a .xml suffix to avoid confusion with FITS files.
-
…nt projections are proposed in parameter file.