dataToScarlet¶
- lsst.meas.extensions.scarlet.dataToScarlet(blendData, bandIndex=None, dtype=<class 'numpy.float32'>)¶
Convert the storage data model into a scarlet lite blend
- Parameters:
- blendData
ScarletBlendData
Persistable data for the entire blend.
- bandIndex
int
Index of model to extract. If
bandIndex
isNone
then the full model is extracted.- dtype
numpy.dtype
The data type of the model that is generated.
- blendData
- Returns:
- blend
scarlet.lite.LiteBlend
A scarlet blend model extracted from persisted data.
- blend