ScarletDeblendContext

class lsst.meas.extensions.scarlet.ScarletDeblendContext(*, monotonicity: scl.operators.Monotonicity, observation: scl.Observation, deconvolved: scl.Image, footprints: list[scl.Footprint], footprintImage: scl.Image, config: ScarletDeblendConfig)

Bases: object

Context with parameters and config options for deblending

Attributes:
monotonicity

The monotonicity operator.

observation

The observation for the entire coadd.

deconvolved

The deconvolved image.

residual

The residual image (observation - deconvolved mode convolved with difference kernel).

footprints

The footprints in the deconvolved image.

footprintImage

An indexed image of the scarlet footprints so that the value of a pixel gives the index + 1 of the footprints that contain that pixel.

config

The configuration for the deblender.

Methods Summary

build(mExposure, mDeconvolved, catalog, config)

Build the context from a minimal set of inputs

Methods Documentation

static build(mExposure: MultibandExposure, mDeconvolved: MultibandExposure, catalog: SourceCatalog, config: ScarletDeblendConfig) ScarletDeblendContext

Build the context from a minimal set of inputs

Parameters:
mExposure

The multiband exposure for the entire coadd.

mDeconvolved

The deconvolved multiband exposure for the entire coadd.

catalog

The source catalog for the entire coadd.

config

The configuration for the deblender.