Change request #3057
Enhance ctlike debug output by replacing parameter index with source name
Status: | New | Start date: | 10/23/2019 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assigned To: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Duration: |
Description
The typical output of the likelihood optimization process shows the parameter ident that currently features the maximum gradient, like it is shown here:
... max(|grad|)=35.707783 [DEC:1450]
Unfortunately, the parameter index does not help the user in the first place. I think it would be more convenient to replace the parameter index with the associated source name, which may finally read like:
... max(|grad|)=35.707783 [MySourceName:DEC]
The user could immediately see which source drives the fit.
Recurrence
No recurrence.
History
#1 Updated by Knödlseder Jürgen about 5 years ago
- Project changed from GammaLib to ctools
#2 Updated by Knödlseder Jürgen about 5 years ago
Agree that this would be better. The current problem is that in the place where the output is produced (GOptimizerLM::optimize
) the parameters are flattened and do not relate anymore to a specific model component, hence for the moment there is no way to determine the name of the model that contains the relevant parameter.