This is a family of functions which gets a value for a named keyword
from a FitsChan using one of several different data types. The data
type of the returned value is selected by replacing
X
in the function
name by one of the following strings representing the recognised FITS
data types:
The data type of the returned value 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"
argument
depends on
X
as follows:
- CF - DOUBLE PRECISION(2) (a 2 element array to hold the real and
imaginary parts of the complex value).
- CI - INTEGER(2) (a 2 element array to hold the real and imaginary
parts of the complex value).
- F - DOUBLE PRECISION.
- I - INTEGER
- L - LOGICAL
- S - CHARACTER
- CN - CHARACTER