header_overlap¶
- image_registration.FITS_tools.fits_overlap.header_overlap(hdr1, hdr2, max_separation=180, overlap='union')[source]¶
Create a header containing the exact overlap region between two .fits files
Does NOT check to make sure the FITS files are in the same coordinate system!
- Parameters:
- hdr1,hdr2pyfits.Header
Two pyfits headers to compare
- max_separationint
Maximum number of degrees between two headers to consider before flipping signs on one of them (this to deal with the longitude=0 region)
- overlap: ‘union’ or ‘intersection’
Which merger to do