scarletToData

lsst.meas.extensions.scarlet.scarletToData(blend, psfCenter, xy0)

Convert a scarlet blend into a persistable data object

Parameters:
blendscarlet.Blend

The blend that is being persisted.

psfCentertuple of int

The center of the PSF.

xy0tuple of int

The lower coordinate of the entire blend.

Returns:
blendDataScarletBlendDataModel

The data model for a single blend.