-
…odel with a standard diffuse cube background model that can be used for stacked analysis. The model container can be either retrieved using the models() method, or it can be written to disk with the save() method.
-
ctmodel now always produces a single model cube on output. There are two important input parameters: "infile" and "obsfile". "infile" specifies a counts or model cube that is used to define the binning of the model cube. The functionnality for this parameter is as before. If "infile=NONE", the cube will be defined according to task parameters that specify the spatial and the energy binning. The "obsfile" parameter is new and allows specifying the observation definition for which the model cube should be computed. If an event list or a counts cube is presented, the pointing and Good Time Intervals will be extracted from the FITS file header. If an observation definition XML file is presented, ctmodel will now loop over all CTA observations in the file and add the model values to the model cube. If no response information is associated to the "obsfile" (which is typically the case for event lists or counts cubes), the "caldb" and "irf" parameters will be used to identify the response.
-
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
-
The ctexpcube tool is now functional, a unit test has been added.
-
Deleting log files led to a problem with the new automake test suite.
-
The GCTARoi::contains() method is now used to check for ROI containment.
-
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.
-
Two tests of ctmodel are performed. One using a count map as input and a second using the task parameters as input.
-
On Mac OS X, the /bin/sh shell has a builtin echo command that does not recognize the -n option for linefeed supression. To keep the test script portable, the script now uses the echo command installed on the machine (usually in /bin/echo). The which function is used to make sure that the echo command is correctly located.
-
On FreeBSD, bash is not installed by default, and when it is installed using ports, it is in /usr/local/bin. Using /bin/bash as script directive thus fails to execute the script. Using /bin/sh instead works.
-
The method parameter has been removed, and an infile parameter has been introduced instead of the old evfile and cntmap parameters.