Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
Erin Sheldon reports that SdssCentroid doesn't try very hard close to the edge of an image, just giving up when it's within about a PSF width. That's not unreasonable, given that it uses the PSF model, but we could probably have a better fallback than giving up entirely (with a quality flag, of course).
Attachments
Issue Links
- relates to
-
DM-37612 Remove unit tests of deprecated code
- Done
The idea is to replace the PSF with a tiny Gaussian (e.g. 5 pixels for the width of the PSF image, sigma = 0.5 pixels) if the EDGE flag is set on the first try. We also need to make sure we don't bin after that. So we need to consider adding logic to stop binning early.
On GitHub: https://github.com/lsst/meas_base
Starting point:
https://github.com/lsst/meas_base/blob/be2ba2026d79ec89733cf9f2d962b29926d2ae8a/src/SdssCentroid.cc#L439
https://github.com/lsst/meas_base/blob/be2ba2026d79ec89733cf9f2d962b29926d2ae8a/src/SdssCentroid.cc#L367
https://github.com/lsst/meas_base/blob/be2ba2026d79ec89733cf9f2d962b29926d2ae8a/src/SdssCentroid.cc#L440