mergehdr¶
- sofia_redux.instruments.exes.mergehdr.mergehdr(headers, reference_header=None)[source]¶
Merge input headers.
Keyword handling is defined in the configuration file at data/header_merge.cfg.
- Parameters:
- headerslist of fits.Header
Headers to check.
- reference_headerfits.Header, optional
If provided, is used as the base header to be updated. If not provided, the first header (by DATE-OBS) is used as the reference.
- Returns:
- fits.Header
Combined header.