boundedDataToBox

lsst.meas.extensions.scarlet.boundedDataToBox(nBands, boundedData)

Convert bounds from the data storage format to a scarlet.bbox.Box

Parameters:
nBandsint

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:
bboxscarlet.bbox.Box

The scarlet bounding box generated by the bounds.