scarletLiteToData

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

Convert a scarlet lite blend into a persistable data object

Parameters:
blend : scarlet.lite.LiteBlend

The blend that is being persisted.

psfCenter : tuple of int

The center of the PSF.

xy0 : tuple of int

The lower coordinate of the entire blend.

Returns:
blendData : ScarletBlendDataModel

The data model for a single blend.