lsst.meas.base g1182afd7b4+9ca1b9570f
|
Public Member Functions | |
def | __init__ (self, owner) |
def | __enter__ (self) |
def | addChild (self, instFlux, centroid, shape=None) |
def | __exit__ (self, type_, value, tb) |
Public Attributes | |
owner | |
parentRecord | |
parentImage | |
children | |
Context manager which adds multiple overlapping sources and a parent. Notes ----- This is used as the return value for `TestDataset.addBlend`, and this is the only way it should be used.
def lsst.meas.base.tests.BlendContext.__init__ | ( | self, | |
owner | |||
) |
def lsst.meas.base.tests.BlendContext.__exit__ | ( | self, | |
type_, | |||
value, | |||
tb | |||
) |
def lsst.meas.base.tests.BlendContext.addChild | ( | self, | |
instFlux, | |||
centroid, | |||
shape = None |
|||
) |
Add a child to the blend; return corresponding truth catalog record. instFlux : `float` Total instFlux of the source to be added. centroid : `lsst.geom.Point2D` Position of the source to be added. shape : `lsst.afw.geom.Quadrupole` Second moments of the source before PSF convolution. Note that the truth catalog records post-convolution moments)