-
The coding and design conventions (CDC) document was also updated.
-
The GFunction::eval interface has been revised and all affected GammaLib classes have been adapted.
-
Add GChatter argument to print() method. The print() method now takes an argument of type GChatter to control the chattiness of the output in a homogenous manner. Pass NORMAL chatter level in __str__ method. Add chatter argument to print() methods. Use GLog::chatter() method to control the chattiness of the log stream operator. Add chatter() methods and provide member access through const references. Add chatter() methods, provide member access through const references, and declare one liners as inline methods. The chatter() methods control the new m_chatter attribute that is used to control the chattiness of the object's print() methods. name() and version() methods return const references. logFileOpen() method now sets the chattiness from the applications's chatter parameter, and name() and version() methods now return a const reference.
-
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.
-
The eval_gradients() method is no longer const to reflect the fact that the method explicitly sets the gradient attribute of the model parameters.
-
The GModelPar interface has been revisited and the code has been adapted to satisfy the new interface.
-
The autoscale() method has been removed as it exists now in the GModelSpectral() base class. The parameter constructor now calls autoscale() to perform an autoscaling of all model parameters.
-
As result of a copy-paste error, the normalization minimum has been set to 0.1 while the minimum value of the energy cut-off has not been set.
-
A precomputation caches has been added for fast mc() computations.