makeTemplatesMonotonic#
- lsst.meas.deblender.makeTemplatesMonotonic(debResult, log)#
Make the templates monotonic.
The pixels in the templates are modified such that pixels further from the peak will have values smaller than those closer to the peak.
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.
Returns#
- modified:
bool Whether or not any templates were modified. This will be
Trueas long as there is at least one source that is not flagged as a PSF.
- debResult: