deblend

lsst.meas.extensions.scarlet.deblend(mExposure, modelPsf, footprint, config, spectrumInit, monotonicity, wavelets=None)

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 model using the spectrum.

monotonicity: `lsst.scarlet.lite.operators.Monotonicity`

The monotonicity operator.

waveletsnumpy.ndarray

Pre-generated wavelets to use if using wavelet initialization.

Returns:
blendscarlet.lite.Blend

The blend this is to be deblended

skippedSourceslist[int]

Indices of sources that were skipped due to no flux. This usually means that a source was a spurrious detection in one band that should not have been included in the merged catalog.

skippedBandslist[str]

Bands that were skipped because a PSF could not be generated for them.