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:
objectContext 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.
Attributes Summary
Methods Summary
build(mExposure, mDeconvolved, catalog, config)Build the context from a minimal set of inputs
Attributes Documentation
- config: ScarletDeblendConfig = <dataclasses._MISSING_TYPE object>#
- deconvolved: scl.Image = <dataclasses._MISSING_TYPE object>#
- footprintImage: scl.Image = <dataclasses._MISSING_TYPE object>#
- footprints: list[scl.Footprint] = <dataclasses._MISSING_TYPE object>#
- monotonicity: scl.operators.Monotonicity = <dataclasses._MISSING_TYPE object>#
- observation: scl.Observation = <dataclasses._MISSING_TYPE object>#
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 parent catalog for the entire coadd.
- config :
The configuration for the deblender.