add_image_unit

msumastro.header_processing.patchers.add_image_unit(header, history=True)[source]

Add unit of image to header.

Parameters:

header : astropy.io.fits.Header

Header object in which image type is to be changed.

history : bool, optional

If True, add history of keyword modification to header.