Skip to content

Commit

Permalink
Merge pull request #222 from esheldon/beckermr-patch-1
Browse files Browse the repository at this point in the history
ENH add sums_norm to admom
  • Loading branch information
beckermr authored Jul 22, 2022
2 parents 866ac90 + a28b14e commit 0ce0e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ngmix/admom/admom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ce0e94

Please sign in to comment.