morphToHeavy

lsst.meas.extensions.scarlet.morphToHeavy(source, peakSchema, xy0=Point2I(0, 0))

Convert the morphology to a HeavyFootprint

Parameters:
source : scarlet.Component

The scarlet source with a morphology to convert to a HeavyFootprint.

peakSchema : lsst.daf.butler.Schema

The schema for the PeakCatalog of the HeavyFootprint.

xy0 : tuple

(x,y) coordinates of the bounding box containing the HeavyFootprint.

Returns:
heavy : lsst.afw.detection.HeavyFootprint