fits_header.h File Reference
Classes
Namespaces
Defines
Detailed Description
Holds FITS header class ltl::FitsHeader and methods.
FITS Syntax
Chars 1 - 8 can be:
- valid (or blank) keyword,
- invalid (or empty) keyword
Valid keywords: mandatory, other reserved, or additional
Mandatory keywords: principal, or conforming extensions.
Principal: all must be fixed format.
- "SIMPLE ": must be 1st in header, followed by
- "BITPIX ": 8, 16, 32, -32, -64, followed by
- "NAXIS ": 0 <= n <1000, integer
- if NAXIS > 0
- "NAXIS1 ", ..., "NAXISnnn"
- ...
- "END " and empty after
Conforming extensions: Support development is on the way...
Other reserved keywords:
- "DATE ": 'YYYY-MM-DD[Thh:mm:ss[.sss]]' or 'DD/MM/YY' before 2000
- "ORIGIN ": character string
- "BLOCKED ": will be discarded
- "DATE-OBS", "DATExxxx": same format as "DATE "
- "TELESCOP", "INSTRUME", "OBSERVER", "OBJECT ": character strings
- "EQUINOX ": floating point equinox in years
- "EPOCH ": will be transformed to "EQUINOX " if "EQUINOX " not present
- "AUTHOR ", "REFERENC": character string
- array keywords ... BSCALE, BZERO, ...
Intensive syntax check is performed only for mandatory keywords and some reserved keywords.
Values: no complex values supported up to now.
Supported: strings, boolian, integers, floating point;
all in fixed or unfixed format.
Define Documentation
#define FITS_SYNTAX_CHECK |