morphToHeavy¶
-
lsst.meas.extensions.scarlet.morphToHeavy(source, peakSchema, xy0=Point2I(0, 0))¶ Convert the morphology to a
HeavyFootprintParameters: - source :
scarlet.Component The scarlet source with a morphology to convert to a
HeavyFootprint.- peakSchema :
lsst.daf.butler.Schema The schema for the
PeakCatalogof theHeavyFootprint.- xy0 :
tuple (x,y)coordinates of the bounding box containing theHeavyFootprint.
Returns: - heavy :
lsst.afw.detection.HeavyFootprint
- source :