This is a family of functions which store values for named keywords
within a FitsChan at the current card position. The supplied keyword
value can either over-write an existing keyword value, or can be
inserted as a new header card into the FitsChan.
The keyword data type is selected by replacing
X
in the function name
by one of the following strings representing the recognised FITS data
types:
- CF - Complex floating point values.
- CI - Complex integer values.
- F - Floating point values.
- I - Integer values.
- L - Logical (i.e. boolean) values.
- S - String values.
- CN - A "CONTINUE" value, these are treated like string values, but
are encoded without an equals sign.
The data type of the "value" parameter depends on
X
as follows:
- CF - "double
" (a pointer to a 2 element array holding the real and
imaginary parts of the complex value).
- CI - "int
" (a pointer to a 2 element array holding the real and
imaginary parts of the complex value).
- F - "double".
- I - "int".
- L - "int".
- S - "const char
".
- CN - "const char
".