DeblendedPeak

class lsst.meas.deblender.baseline.DeblendedPeak(peak, pki, parent, multiColorPeak=None)

Bases: object

Result of deblending a single Peak within a parent Footprint.

There is one of these objects for each Peak in the Footprint.

Parameters:
peak: `afw.detection.PeakRecord`

Peak object in a single band from a peak record

pki: `int`

Index of the peak in multiColorPeak.parent.peaks

parent: `DeblendedParent`

Parent in the same filter that contains the peak

multiColorPeak: `MultiColorPeak`

Object containing the same peak in multiple bands

Attributes Summary

psfFitChisq
psfFitDof

Methods Summary

getFluxPortion([strayFlux]) Return a HeavyFootprint containing the flux apportioned to this peak.
setBadPsfDof()
setDeblendedAsPsf()
setFailedSymmetricTemplate()
setFluxPortion(mimg)
setMedianFilteredTemplate(t, tfoot)
setNoValidPixels()
setOrigTemplate(t, tfoot)
setOutOfBounds()
setPatched()
setPsfFitFailed()
setPsfTemplate(tim, tfoot)
setRampedTemplate(t, tfoot)
setStrayFlux(stray)
setTemplate(image, footprint)
setTemplateWeight(w)
setTinyFootprint()

Attributes Documentation

psfFitChisq
psfFitDof

Methods Documentation

getFluxPortion(strayFlux=True)

Return a HeavyFootprint containing the flux apportioned to this peak.

@param[in] strayFlux include stray flux also?

setBadPsfDof()
setDeblendedAsPsf()
setFailedSymmetricTemplate()
setFluxPortion(mimg)
setMedianFilteredTemplate(t, tfoot)
setNoValidPixels()
setOrigTemplate(t, tfoot)
setOutOfBounds()
setPatched()
setPsfFitFailed()
setPsfTemplate(tim, tfoot)
setRampedTemplate(t, tfoot)
setStrayFlux(stray)
setTemplate(image, footprint)
setTemplateWeight(w)
setTinyFootprint()