modelToHeavy

lsst.meas.extensions.scarlet.modelToHeavy(source, filters, xy0=Point2I(0, 0), observation=None, dtype=<class 'numpy.float32'>)

Convert the model to a MultibandFootprint

Parameters
sourcescarlet.Component

The source to convert to a HeavyFootprint.

filtersiterable

A “list” of names for each filter.

xy0lsst.geom.Point2I

(x,y) coordinates of the bounding box containing the HeavyFootprint. If observation is not None then this parameter is updated with the position of the new model

observationscarlet.Observation

The scarlet observation, used to convolve the image with the origin PSF. If observation` is None then the HeavyFootprint will exist in the model frame.

dtypenumpy.dtype

The data type for the returned HeavyFootprint.

Returns
mHeavylsst.detection.MultibandFootprint

The multi-band footprint containing the model for the source.