add_keyword¶
-
simcado.utils.
add_keyword
(filename, keyword, value, comment='', ext=0)[source]¶ Add a keyword, value pair to an extension header in a FITS file
- Parameters
- filenamestr
Name of the FITS file to add the keyword to
- keywordstr
- valuestr, float, int
- commentstr
- extint, optional
The fits extension index where the keyword should be added. Default is 0