Cutouts#
- class prose.blocks.geometry.Cutouts(shape: Union[int, tuple] = 50, wcs: bool = False, name: Optional[str] = None, sources: bool = False)[source]#
Create cutouts around all sources
read
Image.sources
write
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