history

msumastro.header_processing.patchers.history(function, mode=None, time=None)[source]

Construct nicely formatted start/end markers in FITS history.

Parameters
functionfunc

Function calling history

modestr, ‘begin’ or ‘end’

A different string is produced for the beginning and the end. Default is ‘begin’.

timedatetime

If not set, defaults to current date/time.