• 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.
    Jürgen Knödlseder authored
     
    Browse Dir »


  • The mc() method went in endless loops as the exit condition of the while loop was inversed (the method continued looping when the energy was within the valid range and only exited when it was outside).
    
    The eval_gradients() method computed the gradients with respect to the parameter values and not the parameter factors. All gradients have be multiplied by the scales. Also, the gradients are now set to 0 if the parameters are fixed.
    
    Finally, the parameter "Prefactor" was renamed to "Normalization" because the parameter gives the integral flux under the Gaussian, not the prefactor.
    Jürgen Knödlseder authored
     
    Browse Dir »