DeblendedParent

class lsst.meas.deblender.baseline.DeblendedParent(filterName, footprint, maskedImage, psf, psffwhm, avgNoise, maxNumberOfPeaks, debResult)

Bases: object

Deblender result of a single parent footprint, in a single band

Convenience class to store useful objects used by the deblender for a single band, such as the maskedImage, psf, etc as well as the results from the deblender.

Parameters:
filterName: `str`

Name of the filter used for maskedImage

footprint: list of `afw.detection.Footprint`s

Parent footprint to deblend in each band.

maskedImages: list of `afw.image.MaskedImageF`s

Masked image containing the footprint in each band.

psf: list of `afw.detection.Psf`s

Psf of the maskedImage for each band.

psffwhm: list of `float`s

FWHM of the maskedImage’s psf in each band.

avgNoise: `float`or list of `float`s, optional

Average noise level in each maskedImage. The default is None, which estimates the noise from the median value of the variance plane of maskedImage for each filter.

maxNumberOfPeaks: `int`, optional

If positive, the maximum number of peaks to deblend. If the total number of peaks is greater than maxNumberOfPeaks, then only the first maxNumberOfPeaks sources are deblended. The default is 0, which deblends all of the peaks.

debResult: `DeblenderResult`

The DeblenderResult that contains this DeblendedParent.

Methods Summary

updateFootprintBbox()

Update the bounding box of the parent footprint

Methods Documentation

updateFootprintBbox()

Update the bounding box of the parent footprint

If the parent Footprint is resized it will be necessary to update the bounding box of the footprint.