weightTemplates

lsst.meas.deblender.weightTemplates(debResult, log)

Weight the templates to best fit the observed image in each filter

This function re-weights the templates so that their linear combination best represents the observed image in that filter. In the future it may be useful to simultaneously weight all of the filters together.

Parameters:
debResult: `lsst.meas.deblender.baseline.DeblenderResult`

Container for the final deblender results.

log: `log.Log`

LSST logger for logging purposes.

Returns:
modified: `bool`

weightTemplates does not actually modify the Footprint templates other than to add a weight to them, so modified is always False.