add_history

sofia_redux.toolkit.utilities.fits.add_history(header, msg, prefix=None, refkey='BBBBBBBB')[source]

Add HISTORY message to a FITS header before the pipeline.

Parameters:
headerastropy.io.fits.header.Header

FITS header used to write the HISTORY message

msgstr

the HISTORY message

prefixstr, optional

Prefix message with this string.

refkeystr, optional

A reference key to insert the message after.