Closed beringueb closed 8 months ago
Also not sure how to deal with versionining etc ... @xgarrido
For versionning, after the PR has been merged, we will create a new patch release v0.9.3
by changing this line https://github.com/simonsobs/LAT_MFLike/blob/master/setup.cfg#L2 and create a new release to push the version on pypi (this is something I'd like to change since versioneer
is a bit deprecated or dead project and setuptools_scm
better handles git version)
Hi Ben and all, I am trying to test a more general modification of mflike (+ syslibrary) where the polarization of the theory+FG spectra with systematics would be "TT/TE/ET/EE..." instead of "tt/te/ee...", which has been making the code a bit obscure and prone to mistakes. This requires a bit of work on both the mflike and syslibrary side, so if we want to merge this version very soon I can work on another branch.
I would be keen on merging this now and explore other solutions in a separate branch ?
I don't really like having pending branches and PR that get outdated wrt the main branch. So, I suggest we merge this one (and I agree with @beringueb)
Fixing the way cross-frequencies spectra are handled in MFLIKE. We noticed the T_nu1 x E_nu2 was stored in the same entry as T_nu2 x E_nu1 during theory building. While this is fine for CMB+FG, it isn't for calibration. Here is a quickfix, that explicitely store
dls_dict[p, m["t2"], m["t1"]]
(instead ofdls_dict[p, m["t1"], m["t2"]]
) in the case of 'ET' spectra.We might want to do differently in the future but this should handle all the cases we can think of.
Also added some comments to document !