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
SourceDeblendTask(schema[, peakSchema]) Split blended sources into individual sources.

Class Inheritance Diagram

Inheritance diagram of lsst.meas.deblender.baselineUtils.BaselineUtilsF, lsst.meas.deblender.baseline.CachingPsf, lsst.meas.deblender.baseline.DeblendedParent, lsst.meas.deblender.baseline.DeblendedPeak, lsst.meas.deblender.plugins.DeblenderPlugin, lsst.meas.deblender.baseline.DeblenderResult, lsst.meas.deblender.baseline.MultiColorPeak, lsst.meas.deblender.sourceDeblendTask.SourceDeblendConfig, lsst.meas.deblender.sourceDeblendTask.SourceDeblendTask

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

Inheritance diagram of lsst.meas.deblender.baseline.DeblenderResult, lsst.meas.deblender.baseline.DeblendedParent, lsst.meas.deblender.baseline.MultiColorPeak, lsst.meas.deblender.baseline.DeblendedPeak, lsst.meas.deblender.baseline.CachingPsf