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 and extent attributes giving bounding box information in the lsst format (x, y).

Returns:
bbox : scarlet.bbox.Box

The scarlet bounding box generated by the bounds.