• The GModelSpectralRegistry::alloc() method now also checks for the existence of model parameters and allocates the appropriate model from the registry that is found in the XML file base on model type and parameter names. This allows now to have the same model type but different parameter names in the registry.
    
    The spectral model classes have been adapted to the new logic, and models have been added to the registry for all parameter combinations that may exist.
    
    The unit tests and documentation have been updated.
    Jürgen Knödlseder authored
     
    Browse File »




  • The value constructor now takes values for all 4 parameter members as arguments. The pivot and cut-off energy arguments have been declared as GEnergy.
    
    All parameter members now have set and retrieve methods. The pivot and cut-off method set and retrieve GEnergy objects.
    
    A precomputation cache has been added for the eval() and eval_gradients() methods that does accelerate computations in case that the energy and the index, cutoff and pivot energy parameters have not changed. This should improve the performance for binned analysis.
    Jürgen Knödlseder authored
     
    Browse File »