scarletModelToHeavy

lsst.meas.extensions.scarlet.scarletModelToHeavy(source: Source, blend: Blend, useFlux=False) HeavyFootprintF | MultibandFootprint

Convert a scarlet_lite model to a HeavyFootprintF or MultibandFootprint.

Parameters:
source:

The source to convert to a HeavyFootprint.

blend:

The Blend object that contains information about the observation, PSF, etc, used to convolve the scarlet model to the observed seeing in each band.

useFlux:

Whether or not to re-distribute the flux from the image to conserve flux.

Returns:
heavy:

The footprint (possibly multiband) containing the model for the source.