Open juanma-cano-vila opened 8 months ago
I agree with the additional information to print out.
Regarding the normalization of the weights: The weights must not be normalized, because these are scaling factors for the signal generation. So it will be possible to generate like 3 times the flux for source 1 and while only 0.5 times the flux for source 2. Hence the weights would be 3 and 0.5.
For better track in the logs and development, it would be nice to add the weight of each source to the strmethod. That way, when printing the shg_mgr or when it appears on a .log file it will include this information, useful for a better track when doing different stacking analysis with different weight hypothesis.
It would look something like this:
I hope is not to loaded with information.
Also, the format of the weights is .5f, but it could be shortened or forced to be normalized to 1 to avoid extremely large numbers. Currently it displays the original, non normalized inputs