Bugfixes in mass_mapping.py (inconsistencies between array shapes)
Method sparse_wiener_filtering: previous commit #139f491 caused an error in the shape of intermediate arrays xg, xs and xw: initialization should be placed after the block if PropagateNoise. I also initialized xg in the if Inpaint block; otherwise there were an undeclared variable in self.get_resi. I think this is the reason why commit #139f491 was created in the first place.
Error corrections when calling method: get_lmax_dct_inpaint: it should take shear maps as arguments, not convergence maps.
mass_mapping.py
(inconsistencies between array shapes)sparse_wiener_filtering
: previous commit #139f491 caused an error in the shape of intermediate arraysxg
,xs
andxw
: initialization should be placed after the blockif PropagateNoise
. I also initializedxg
in theif Inpaint
block; otherwise there were an undeclared variable inself.get_resi
. I think this is the reason why commit #139f491 was created in the first place.get_lmax_dct_inpaint
: it should take shear maps as arguments, not convergence maps.