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.Footprintwith pixels on the edge offootprintis grown by thepsffwhm*1.5and 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:
lsst.log.Loggerorlsst.utils.logging.LsstLogAdapter LSST logger for logging purposes.
- patchEdges:
bool, optional If True and if the parent Footprint touches pixels with the
EDGEbit 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,
modifiedisTrue.
- debResult: