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: - source :
scarlet.Component
The source to convert to a
HeavyFootprint
.- filters :
iterable
A “list” of names for each filter.
- xy0 :
lsst.geom.Point2I
(x,y)
coordinates of the bounding box containing theHeavyFootprint
. Ifobservation
is notNone
then this parameter is updated with the position of the new model- observation :
scarlet.Observation
The scarlet observation, used to convolve the image with the origin PSF. If
observation`
isNone
then theHeavyFootprint
will exist in the model frame.- dtype :
numpy.dtype
The data type for the returned
HeavyFootprint
.
Returns: - mHeavy :
lsst.detection.MultibandFootprint
The multi-band footprint containing the model for the source.
- source :