-
The setting of XML filenames upon loading of response components leads to an automatic saving of all response file paths in an XML file. This is very constraining and should be avoided. We therefore only save XML filenames that have been loaded, so that an exact copy of the input file can be written on output.
-
…sponse function in the XML file.
-
…Diffuse, and GCTASourceCubePointSource to GCTACubeSourcePointSource
-
Before, the result of srcEng.log10TeV() was directly passed to the cta_nedisp_kern constructor, which stores only a reference to the value instead of the value. Since srcEng.log10TeV() does not return a reference but a value, it is not assured that the actual memory cell containing the value is still valid. This led to problems on CentOS 7. Now, a local copy is created. In the future we may avoid storing references and store directly the values. This should result in a negligible overhead, as the actual eval() method is called multiple times. We may still store references for large objects, but at least for simple arguments we should store by value.
-
Corrects bug #1361.
-
…servation definition XML files
-
A new parameter was introduce to specify the acceptable function decrease in an iteration. Acceptable means that the new parameters are kept for continuing the iterations. This behaviour existed already before, but a low threshold of 1e-6 did not really activate it. Now the threshold was raised to 1.0 and this help ctlike to converge quicker. Methods accept_dec() have been implemented to get and set the acceptable threshold.
-
This improves convergence, but there is not real justification for that except that it will likely improve the precision of the computations.