lsst.meas.deblender

The lsst.meas.deblender module provides source deblending algorithms.

Task reference

Tasks

SourceDeblendTask

Split blended sources into individual sources.

Contributing

lsst.meas.deblender is developed at https://github.com/lsst/meas_deblender. You can find Jira issues for this module under the meas_deblender component.

Python API reference

lsst.meas.deblender Package

Functions

apportionFlux(debResult, log[, ...])

Apportion flux to all of the peak templates in each filter

buildSymmetricTemplates(debResult, log[, ...])

Build a symmetric template for each peak in each filter

clipFootprintsToNonzero(debResult, log)

Clip non-zero spans in the template footprints for every peak in each filter.

deblend(footprint, maskedImage, psf, psffwhm)

Deblend a parent Footprint in a MaskedImageF.

fitPsfs(debResult, log[, psfChisqCut1, ...])

Fit a PSF + smooth background model (linear) to a small region around each peak.

makeTemplatesMonotonic(debResult, log)

Make the templates monotonic.

medianSmoothTemplates(debResult, log[, ...])

Applying median smoothing filter to the template images for every peak in every filter.

newDeblend(debPlugins, footprint, ...[, ...])

Deblend a parent Footprint in a MaskedImageF.

rampFluxAtEdge(debResult, log[, patchEdges])

Adjust flux on the edges of the template footprints.

reconstructTemplates(debResult, log[, ...])

Remove "degenerate templates"

weightTemplates(debResult, log)

Weight the templates to best fit the observed image in each filter

Classes

BaselineUtilsF

CachingPsf(psf)

Cache the PSF models

DeblendedParent(filterName, footprint, ...)

Deblender result of a single parent footprint, in a single band

DeblendedPeak(peak, pki, parent[, ...])

Result of deblending a single Peak within a parent Footprint.

DeblenderPlugin(func[, onReset, maxIterations])

Class to define plugins for the deblender.

DeblenderResult(footprint, mMaskedImage, ...)

Collection of objects in multiple bands for a single parent footprint.

MultiColorPeak(peaks, pki, parent)

Collection of single peak deblender results in multiple bands.

SourceDeblendConfig(*args, **kw)

SourceDeblendTask(schema[, peakSchema])

Split blended sources into individual sources.

Class Inheritance Diagram

digraph inheritance96aa89d2d4 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BaselineUtilsF" [URL="../../../py-api/lsst.meas.deblender.BaselineUtilsF.html#lsst.meas.deblender.BaselineUtilsF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "BaselineUtilsF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "CachingPsf" [URL="../../../py-api/lsst.meas.deblender.baseline.CachingPsf.html#lsst.meas.deblender.baseline.CachingPsf",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Cache the PSF models"]; "Config" [URL="../../../py-api/lsst.pex.config.Config.html#lsst.pex.config.Config",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for configuration (*config*) objects."]; "DeblendedParent" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblendedParent.html#lsst.meas.deblender.baseline.DeblendedParent",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Deblender result of a single parent footprint, in a single band"]; "DeblendedPeak" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblendedPeak.html#lsst.meas.deblender.baseline.DeblendedPeak",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Result of deblending a single Peak within a parent Footprint."]; "DeblenderPlugin" [URL="../../../py-api/lsst.meas.deblender.DeblenderPlugin.html#lsst.meas.deblender.DeblenderPlugin",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class to define plugins for the deblender."]; "DeblenderResult" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblenderResult.html#lsst.meas.deblender.baseline.DeblenderResult",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Collection of objects in multiple bands for a single parent footprint."]; "MultiColorPeak" [URL="../../../py-api/lsst.meas.deblender.baseline.MultiColorPeak.html#lsst.meas.deblender.baseline.MultiColorPeak",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Collection of single peak deblender results in multiple bands."]; "SourceDeblendConfig" [URL="../../../py-api/lsst.meas.deblender.SourceDeblendConfig.html#lsst.meas.deblender.SourceDeblendConfig",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Config" -> "SourceDeblendConfig" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SourceDeblendTask" [URL="../../../py-api/lsst.meas.deblender.SourceDeblendTask.html#lsst.meas.deblender.SourceDeblendTask",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Split blended sources into individual sources."]; "Task" -> "SourceDeblendTask" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Task" [URL="../../../py-api/lsst.pipe.base.Task.html#lsst.pipe.base.Task",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for data processing tasks."]; "pybind11_object" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; }

lsst.meas.deblender.baseline Module

Functions

deblend(footprint, maskedImage, psf, psffwhm)

Deblend a parent Footprint in a MaskedImageF.

newDeblend(debPlugins, footprint, ...[, ...])

Deblend a parent Footprint in a MaskedImageF.

Classes

DeblenderResult(footprint, mMaskedImage, ...)

Collection of objects in multiple bands for a single parent footprint.

DeblendedParent(filterName, footprint, ...)

Deblender result of a single parent footprint, in a single band

MultiColorPeak(peaks, pki, parent)

Collection of single peak deblender results in multiple bands.

DeblendedPeak(peak, pki, parent[, ...])

Result of deblending a single Peak within a parent Footprint.

CachingPsf(psf)

Cache the PSF models

Class Inheritance Diagram

digraph inheritance90e19d427f { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "CachingPsf" [URL="../../../py-api/lsst.meas.deblender.baseline.CachingPsf.html#lsst.meas.deblender.baseline.CachingPsf",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Cache the PSF models"]; "DeblendedParent" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblendedParent.html#lsst.meas.deblender.baseline.DeblendedParent",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Deblender result of a single parent footprint, in a single band"]; "DeblendedPeak" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblendedPeak.html#lsst.meas.deblender.baseline.DeblendedPeak",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Result of deblending a single Peak within a parent Footprint."]; "DeblenderResult" [URL="../../../py-api/lsst.meas.deblender.baseline.DeblenderResult.html#lsst.meas.deblender.baseline.DeblenderResult",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Collection of objects in multiple bands for a single parent footprint."]; "MultiColorPeak" [URL="../../../py-api/lsst.meas.deblender.baseline.MultiColorPeak.html#lsst.meas.deblender.baseline.MultiColorPeak",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Collection of single peak deblender results in multiple bands."]; }