Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_diffim, meas_algorithms, meas_base, meas_deblender, meas_extensions_scarlet
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:DRP S22B
-
Team:Data Release Production
-
Urgent?:No
Description
When the psf computeShape routines were deprecated originally the incorrect usage was not removed. Looking through logs the following lines need to be fixed:
These should use the average position:
https://github.com/lsst/meas_algorithms/blob/cdb44b6e2f20ce419f7e4988a3275b803d6c1383/python/lsst/meas/algorithms/detection.py#L413
https://github.com/lsst/meas_algorithms/blob/cdb44b6e2f20ce419f7e4988a3275b803d6c1383/python/lsst/meas/algorithms/detection.py#L450
https://github.com/lsst/meas_algorithms/blob/cdb44b6e2f20ce419f7e4988a3275b803d6c1383/python/lsst/meas/algorithms/installGaussianPsf.py#L77
https://github.com/lsst/meas_algorithms/blob/cdb44b6e2f20ce419f7e4988a3275b803d6c1383/python/lsst/meas/algorithms/installGaussianPsf.py#L78
This should use the footprint position (and docstring updated):
https://github.com/lsst/meas_deblender/blob/f9afb8a27fd4d34572200eb8b685765f79dd9b11/python/lsst/meas/deblender/sourceDeblendTask.py#L281
This should use the bbox center:
https://github.com/lsst/ip_diffim/blob/367af9ff25c2513ca205bbe1ff475571e8467889/python/lsst/ip/diffim/modelPsfMatch.py#L419
There are also tests in meas_algorithms that need to be updated. Also c++ usage such as (these show up as compile time warnings):
https://github.com/lsst/meas_base/blob/45da3de69883b9810678e95bc3e3e01b0d3c1129/src/LocalBackground.cc#L70
And looking through afw, and definitely afw tests re: trampolines.
Attachments
Issue Links
- is blocked by
-
DM-34777 Scarlet should take in a position to compute PSF image
- Done
- is triggered by
-
RFC-796 Default Psf position argument considered harmful
- Adopted
- is triggering
-
DM-35552 Look into "cannot convert float NaN to integer" in calibrate's meas_deblender call
- Done
- mentioned in
-
Page Loading...
A couple more:
https://github.com/lsst/meas_extensions_scarlet/blob/746e97fe6b17aff4d1f5eab0b738c47a0b223aa3/python/lsst/meas/extensions/scarlet/scarletDeblendTask.py#L94
https://github.com/lsst/meas_extensions_scarlet/blob/746e97fe6b17aff4d1f5eab0b738c47a0b223aa3/python/lsst/meas/extensions/scarlet/scarletDeblendTask.py#L126