-
…n writing the model into an XML file.
-
# Conflicts: # ChangeLog # NEWS # inst/cta/src/GCTAEventList.cpp
-
…GModelSpatialComposite. The use of objects instead of pointers to object is saver and generally avoids having memory leaks.
-
Updated 'GModelTemporalPhaseCurve' to allow creating from XML format with an empty file attribute
-
…at are not covered by the RoI.
-
Removed all the deprecated code fragments from previous MC generation method.
-
'update_mc_cache()' now initializes an object of type 'GModelSpectralBrokenPlaw' used in MC generation. Removed the entire batch of code which generates from a broken power law and replaced with generation of energies from the GModelSpectralBrokenPlaw::mc() method.
-
Added gradient formulae. Added helpful notes.
-
Previously neglecting the appropriate handling in the CDF computation of the different indices above and below the break energy. Now appropriately handles the case where (Emax < Ebreak) and (Emin > Ebreak).
-
Both methods for specifying the parameters of a "SmoothBrokenPowerLaw" model in an XML file are now supported. Updated the test to reflect the actual way a spectral model is constructed in GammaLib. The method still has some issues when generating the monte carlo. This is being worked on.
-
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'.
-
Implemented special handling in the MC event generation for when either (or both) the indices are -1. Removed unnecessary vectors used for MC event generation.