Closed cmbant closed 2 months ago
Attention: Patch coverage is 71.79487%
with 11 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
master@660e0fa
). Learn more about missing BASE report.
It loooks sensible especially the add of sum_all/term
variables. The _get_foreground_model
is not only used for plotting purpose since pspipe
relies on it to get the foreground model the same way the likelihood does. Since the function declaration does not change, I think we are safe (let's see what @thibautlouis and @adrien-laposta think about it).
Btw, this currently seems to do nothing: https://github.com/simonsobs/LAT_MFLike/blob/master/mflike/theoryforge.py#L626
Btw, this currently seems to do nothing: https://github.com/simonsobs/LAT_MFLike/blob/master/mflike/theoryforge.py#L626
Yes that's true, it has not been fully developed due to the absence of a systematic template to use. I have actually modified that in a branch for some ACT tests, but I doubt it will end up in the master
Last one for the moment.. just tries to simplify the code so that foregrounds are used directly as arrays from model dictionary, rather than introducing new large temporary fg_dict structure, most of which was unused.
Now
_get_foreground_model
is not used internally; I assume this is intended for plotting etc, in which case probably best renamed toget_foreground_model
as public facing.