-
Added file "GModelSpectralSmoothBrokenPlaw.i" for python wrappers. Added file "model_point_smoothbplaw.xml" for testing the construction of the class from xml file. Updated "test_GModel.cpp" to include test of the 'GModelSpectralSmoothBrokenPlaw' class. Some work is still needed to ensure the test passes when running 'make check'.
-
The GModelTemporalFunc implements a temporal file function for the simulation of transient sources.
-
# Conflicts: # AUTHORS # include/GTools.hpp # src/support/GTools.cpp
-
… including docs and unit tests
-
- New naming scheme. - New utility functions/constructor supporting cutoff-energy. - Usage of new helper functions for xml read-in/write-out.
-
27
-
The GModel::is_valid() method now allows specifying empty strings for the instrument and id parameters that will skip the specific model validity check. This allows to check for models of a given identifier whatever the instrument, or for models for a given instrument, whatever the identifier.
-
…or the observation Python module. The classname() method returns in a human readable format the class name. This method is needed for full automatic typecasting in Python. Full automatic typecasting has for the moment been implemented for the observation module.
-
The GModelSpectralSuperExpPlaw code has been reviewed for integration into the development tree. Most changes were related to code formatting, some changes were needed in the XML interface to correctly reflect the model type "PLSuperExpCutoff". A unit test method has been added to test_GModel, modelled on unit tests for other spectral models.
-
GTestSuites The GTestSuites class now derives from GContainer and implements the usual container class methods (at(), size(), isempty(), set(), append(), insert(), remove(), reserve() and extend()). The operator[] now returns pointers to GTestSuite. The name() and timestamp() methods now return const references. GTestSuite The GTestSuite class now derives from GBase. This implies that the clone() method needs to be implemented for derived classes. The test_assert() method now takes a const reference for the boolean argument. The name(), errors(), failures(), and timestamp() methods return const references. The obsolete add_test() method has been removed. The unit tests have been updated to conform to the new interfaces.