Trim#
- class prose.blocks.geometry.Trim(trim=None, skip_wcs=None, name=None, verbose=False)[source]#
Image trimming
If trim is not specified, triming is taken from the “overscan” in image metadata
write
Image.header
modify data
- Parameters:
skip_wcs (bool, optional) – whether to skip applying trim to WCS (If None: wcs is skipped only if image is not plated solved), by default None
trim (tuple, int or flot, optional) – (x, y) trim values, by default None which uses the
trim
value from the image telescope definition. If an int or a float is provided trim will be be applied to both axes.