rampFluxAtEdge¶
-
lsst.meas.deblender.
rampFluxAtEdge
(debResult, log, patchEdges=False)¶ Adjust flux on the edges of the template footprints.
Using the PSF, a peak
~afw.detection.Footprint
with pixels on the edge offootprint
is grown by thepsffwhm*1.5
and filled in with ramped pixels. The result is a new symmetric footprint template for the peaks near the edge.Parameters: - debResult: `lsst.meas.deblender.baseline.DeblenderResult`
Container for the final deblender results.
- log: `log.Log`
LSST logger for logging purposes.
- patchEdges: `bool`, optional
If True and if the parent Footprint touches pixels with the
EDGE
bit set, then grow the parent Footprint to include all symmetric templates.
Returns: - modified:
bool
If any peaks have their templates modified to include flux at the edges,
modified
isTrue
.