imutil.ccdops.trim_overlap
imutil.ccdops.trim_overlap(inputs, extension=None, coordinate='image')Trim only the overlapping regions of the two CCDs
Parameters
coordinate :str, optional. = 'image'-
Ways to find the overlapping region. If
'image'(default), output size will benp.min([ccd.shape for ccd in ccds], axis=0). If'physical', overlapping region will be found based on the physical coordinates. Default:'image'. extension :int,str, (str,int), optional. = None-
The extension of FITS to be used. It can be given as integer (0-indexing) of the extension,
EXTNAME(singlestr), or atupleofstrandint:(EXTNAME, EXTVER). IfNone(default), the first extension with data will be used. Default:None.
Notes
~astropy.wcs.WCS is not acceptable because no rotation/scaling is supported.