add_metadata_to_hdu#

lstcam_calib.io.metadata.add_metadata_to_hdu(metadata, hdu)#

Write metadata dictionary to a fits HDU .

Parameters:
metadata: dictionary of metadata
hdu: fits HDU where to add metadata