Functions | |
def | fits_header_add |
def common.module_fits.fits_header_add | ( | hdr, | |
fieldName, | |||
kwargs | |||
) |
Given a FITS Header type hdr, modify or create fieldName field (value and/or comment). Input: * hdr: FITS Header type to be modified * fieldName: (string) header field to modify. If it does not exists, will create it. Optional input: * value: (undefined) value for the header field. If fieldname does not exist, must be present. * comment: (string) comment for the header field. Output: * hdr: the modified FITS Header type