buildSymmetricTemplates¶
- lsst.meas.deblender.buildSymmetricTemplates(debResult, log, patchEdges=False, setOrigTemplate=True)¶
Build a symmetric template for each peak in each filter
Given
maskedImageF
,footprint
, and aDebldendedPeak
, creates a symmetric template (templateImage
andtemplateFootprint
) around the peak for all peaks not flagged asskip
ordeblendedAsPsf
.- Parameters:
- debResult: `lsst.meas.deblender.baseline.DeblenderResult`
Container for the final deblender results.
- log
lsst.log.Logger
orlsst.utils.logging.LsstLogAdapter
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 are not skipped or marked as point sources,
modified
isTrue. Otherwise ``modified
isFalse
.
- modified: