medianSmoothTemplates#
- lsst.meas.deblender.medianSmoothTemplates(debResult, log, medianFilterHalfsize=2)#
Applying median smoothing filter to the template images for every peak in every filter.
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.
- medianFilterHalfSize:
int, optional Half the box size of the median filter, i.e. a
medianFilterHalfSizeof 50 means that each output pixel will be the median of the pixels in a 101 x 101-pixel box in the input image. This parameter is only used whenmedianSmoothTemplate==True, otherwise it is ignored.
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: