Cutouts#

class prose.blocks.Cutouts(size=21, clean=True, name=None)#

Extract square image cutouts centered on Image.stars_coords

read Image.stars_coords

write - Image.cutouts: cutouts images - Image.cutouts_idxs: indexes of stars_coords corresponding to each cutout - Image.stars_coords if clean is True

Cutouts are sometimes called “imagette” and represent small square portions of the image centered on specific points.

Parameters:

size (int, optional) – square side length of the cutout in pixel, by default 21