deblend

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

Deblend a parent footprint

Parameters:
mExposure : lsst.image.MultibandExposure
  • The multiband exposure containing the image, mask, and variance data
footprint : lsst.detection.Footprint
  • The footprint of the parent to deblend
config : ScarletDeblendConfig
  • Configuration of the deblending task
Returns:
blend : scarlet.Blend

The scarlet blend class that contains all of the information about the parameters and results from scarlet

skipped : list of int

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

spectrumInit : bool

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.