From b321e8d4d8edb0de0e910e7549e5c6105408af17 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 22 Jul 2022 05:37:16 -0500 Subject: [PATCH 1/2] ENH add sums_norm to admom --- ngmix/admom/admom.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ngmix/admom/admom.py b/ngmix/admom/admom.py index 5df177a5..ba2164fc 100644 --- a/ngmix/admom/admom.py +++ b/ngmix/admom/admom.py @@ -371,6 +371,7 @@ def get_result(ares, jac_area, wgt_norm): res[n] = ares[n].reshape((6, 6)).copy() else: res[n] = ares[n] + res["sums_norm"] = ares["wsum"] res["flagstr"] = "" res["flux_flags"] = 0 From a28b14eb80554da1ff16f60f52364e2f57da8c2b Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Fri, 22 Jul 2022 05:38:00 -0500 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 448f9859..3194e3a7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ - Added caching of FFTs in metacal and pre-PSF moment rountines. - Added moments weight function normalization. - Changed `mom*` fields in the moments outputs to `sums*`. + - Added `sums_norm` field to adaptive moments outputs. ## v2.0.6