format_comments_and_history# sunpy.io._fits.format_comments_and_history(input_header)[source]# Combine COMMENT and HISTORY cards into single entries. Extract KEYCOMMENTS into a single entry and put WAVEUNIT into its own entry. Parameters: input_header (Header) – The header to be processed. Returns: sunpy.io._header.FileHeader