header_overlap¶
-
FITS_tools.
header_overlap
(hdr1, hdr2, max_separation=180, overlap='union')[source] [edit on github]¶ 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,hdr2 :
Header
Two pyfits headers to compare
max_separation : int
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