dataToScarlet¶
- lsst.meas.extensions.scarlet.dataToScarlet(blendData, nBands=None, 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.
- nBands
int The number of bands in the image. If
bandIndexisNonethen this parameter is ignored and the number of bands is set to 1.- bandIndex
int Index of model to extract. If
bandIndexisNonethen 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