This is a family of routines 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 routine 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 PRECISION(2) (a 2 element array holding the real and
imaginary parts of the complex value).
- CI - INTEGER(2) (a 2 element array holding the real and imaginary
parts of the complex value).
- F - DOUBLE PRECISION.
- I - INTEGER
- L - LOGICAL
- S - CHARACTER
- CN - CHARACTER