boundedDataToBox¶
- lsst.meas.extensions.scarlet.boundedDataToBox(nBands, boundedData)¶
Convert bounds from the data storage format to a
scarlet.bbox.Box
- Parameters:
- nBands
int
The number of bands in the model.
- boundedData
The scarlet data object containing
xy0
andextent
attributes giving bounding box information in the lsst format(x, y)
.
- nBands
- Returns:
- bbox
scarlet.bbox.Box
The scarlet bounding box generated by the bounds.
- bbox