scarletLiteToData¶
- lsst.meas.extensions.scarlet.scarletLiteToData(blend, psfCenter, xy0, bands)¶
Convert a scarlet lite blend into a persistable data object
- Parameters:
- blend
scarlet.lite.LiteBlend The blend that is being persisted.
- psfCenter
tupleofint The center of the PSF.
- xy0
tupleofint The lower coordinate of the entire blend.
- bands
tuple[str] The bands that were deblended. This ignores bands that could not be deblended because the observed PSF could not be modeled.
- blend
- Returns:
- blendData
ScarletBlendDataModel The data model for a single blend.
- blendData