history

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

Construct nicely formatted start/end markers in FITS history.

Parameters:

function : func

Function calling history

mode : str, ‘begin’ or ‘end’

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

time : datetime

If not set, defaults to current date/time.