ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Functions
module_fits Namespace Reference

Functions

def fits_header_add
 

Function Documentation

def 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

Here is the caller graph for this function: