-
…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.
-
# Conflicts: # ChangeLog # NEWS
-
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.
-
# Conflicts: # ChangeLog # NEWS
-
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'.