deblend

lsst.meas.extensions.scarlet.deblend(mExposure, footprint, config, spectrumInit)

Deblend a parent footprint

Parameters:
mExposurelsst.image.MultibandExposure

The multiband exposure containing the image, mask, and variance data.

footprintlsst.detection.Footprint

The footprint of the parent to deblend.

configScarletDeblendConfig

Configuration of the deblending task.

spectrumInitbool

Whether or not to initialize the spectrum.

Returns:
blendDatalsst.meas.extensions.scarlet.io.ScarletBlendData

The persistable representation of a scarlet.Blend.

skippedlist of int

The indices of any children that failed to initialize and were skipped.

spectrumInitbool

Whether or not all of the sources were initialized by jointly fitting their SED’s. This provides a better initialization but created memory issues when a blend is too large or contains too many sources.