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 (templateImageandtemplateFootprint) around the peak for all peaks not flagged asskipordeblendedAsPsf.- 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 are not skipped or marked as point sources,
modifiedisTrue. Otherwise ``modifiedisFalse.
- modified: