deblend#
- lsst.meas.extensions.scarlet.deblend(context: ScarletDeblendContext, footprint: Footprint, config: ScarletDeblendConfig, spectrumInit: bool = True) Blend#
Deblend a parent footprint
Parameters#
- context :
Context with parameters and config options for deblending
- footprint :
The parent footprint to deblend
- config :
The configuration for the deblender
- spectrumInit :
Whether or not to initialize the sources with their best-fit spectra
Returns#
- blend
scarlet.lite.Blend The blend this is to be deblended
- skippedSources
list[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.
- skippedBands
list[str] Bands that were skipped because a PSF could not be generated for them.