dataToScarlet

lsst.meas.extensions.scarlet.dataToScarlet(blendData, bandIndex=None, dtype=<class 'numpy.float32'>)

Convert the storage data model into a scarlet lite blend

Parameters:
blendDataScarletBlendData

Persistable data for the entire blend.

bandIndexint

Index of model to extract. If bandIndex is None then the full model is extracted.

dtypenumpy.dtype

The data type of the model that is generated.

Returns:
blendscarlet.lite.LiteBlend

A scarlet blend model extracted from persisted data.