cutout_box#
- lsst.analysis.ap.cutout_box(image, bbox)#
Copy the pixels of an image within a box.
Parameters#
- image
lsst.images.MaskedImage Image to cut out of.
- bbox
lsst.images.Box Box to copy, which may extend past the edges of
image.
Returns#
- cutout
lsst.images.Image Copy of the image plane within
bbox; pixels outsideimageare NaN.
Raises#
- lsst.images.NoOverlapError
Raised if
bboxdoes not overlapimage.
- image