Closed cmbant closed 2 months ago
Attention: Patch coverage is 84.96732%
with 46 lines
in your changes missing coverage. Please review.
Please upload report for BASE (
master@660e0fa
). Learn more about missing BASE report.
Files | Patch % | Lines |
---|---|---|
mflike/mflike.py | 77.77% | 26 Missing :warning: |
mflike/foreground.py | 89.24% | 20 Missing :warning: |
Agree on logp. I try to avoid comparing sequences that might be an np.ndarray, because bool(ndarray) raises an exception if the array is not empty, hence explicit comparisons to None
Currently there are two different versions of MFLike (on separate git repos), SOLikeT and this, which is confusing and hard to maintain. This attempts to merge the two, with the objective of deleting the version in SOLikeT so we don't have any code duplication.
Basically it splits of BandpowerForeground as a separate Theory, allowing the foreground model to be swapped in and out, and the foreground and calibration/systematic parameters to be sampled separately. At the moment it doesn't split into a separate bandpower theory as in the current SOLikeT, and here TheoryForge obolished by replacing with the foreground model or merging into mflike.
pspipe_utils can now use BandpowerForeground instead of TheoryForge as in https://github.com/simonsobs/pspipe_utils/pull/53.