Cutouts#
- class prose.blocks.geometry.Cutouts(shape: int | tuple = 50, wcs: bool = False, name: str | None = None, sources: bool = False)[source]#
Create cutouts around all sources
read
Image.sourceswrite
Image.cutouts- Parameters:
shape (int or tuple, optional) – cutout shape, by default 50
wcs (bool, optional) – whether to compute cutouts WCS, by default False
name (str, optional) – name of the blocks, by default None
sources (bool, optional) – whether to keep sources in cutouts, by default False