FitsLogical x; FitsLogical y(True); FitsLogical z = x; ... x = y; y = False; x.undefine(); Bool b; if (x.isdefined()) b = x; b = y; If y is undefined, b will be false.
- NOVALUE = 0
- LOGICAL = 1
- BIT = 2
- CHAR = 3
- BYTE = 4
- SHORT = 5
- LONG = 6
- FLOAT = 7
- DOUBLE = 8
- COMPLEX = 9
- ICOMPLEX = 10
- DCOMPLEX = 11
- VADESC = 12
- STRING
- FSTRING
- REAL
- USER_DEF
- AUTHOR
- BITPIX
- BLANK
- BLOCKED
- BSCALE
- BUNIT
- BZERO
- CDELT
- COMMENT
- CROTA
- CRPIX
- CRVAL
- CTYPE
- DATAMAX
- DATAMIN
- DATE
- DATE_OBS
- END
- EPOCH
- EQUINOX
- EXTEND
- EXTLEVEL
- EXTNAME
- EXTVER
- GCOUNT
- GROUPS
- HISTORY
- INSTRUME
- NAXIS
- OBJECT
- OBSERVER
- ORIGIN
- PCOUNT
- PSCAL
- PTYPE
- PZERO_FITS
- REFERENC
- SIMPLE
- SPACES
- TBCOL
- TDIM
- TDISP
- TELESCOP
- TFIELDS
- TFORM
- THEAP
- TNULL
- TSCAL
- TTYPE
- TUNIT
- TZERO
- XTENSION
- ERRWORD
- InitialState
- BadBeginningRecord
- HDURecord
- UnrecognizableRecord
- SpecialRecord
- EndOfFile
- Disk
- Std
- Tape9
- NotAHDU
- PrimaryArrayHDU
- PrimaryGroupHDU
- AsciiTableHDU
- BinaryTableHDU
- ImageExtensionHDU
- UnknownExtensionHDU
- NoOpt = 0
- CtoF = 1
- FtoC = 2
Basic FITS Data Types for keywords and data
data conversion routines: FITS - local
FITS Reserved Names. PZERO is named strangely because it can conflict with a standard #define in sys/param.h.
- OK = 0
- NO_0_NDX
get info about the name
access the error status
the datatype of the keyword
access the value of the keyword
change the value of the keyword
change the comment of the keyword
change the name of the keyword
private constructors for use by friends
constructs user-defined keywords parms: name, namelen, type, val, vallen, comm, commlen
constructs reserved keywords parms: resword, index, val, vallen, comm, commlen
delete the current keyword (the thing returned by curr()) from the list
Add (make) a reserved keyword with the given value and optional comment The comment will be truncated if necessary to fit the available space. String values must be less than 69 characters. String values longer than that will result in an ERROR keyword instead of the desired keyword.
Add (make) an indexed reserved keyword with the given value and optional comment The comment will be truncated if necessary to fit the available space. String values must be less than 69 characters. String values longer than that will result in an ERROR keyword instead of the desired keyword.
Add (make) a user defined keyword with the given name, value and optional comment. The comment will be truncated if necessary to fit the available space. The name must be no longer than 8 characters. Names longer than that will result in an ERROR keyword instead of the desired keyword. String values must no longer than 69 characters. String values longer than that will result in an ERROR keyword instead of the desired keyword.
add a spaces line
add a comment card
add a history card
add the end card. This must be at the end of the list.
Retrieve specific keywords -- these also set the current mark
return the i-th keyword -- keyword numbering starts with 0
Retrieve specific keywords -- these also set the current mark
return first and next non-indexed reserved keyword
Retrieve specific keywords -- these also set the current mark
return first and next indexed reserved keyword
Retrieve specific keywords -- these also set the current mark
return first and next user-defined keyword
Retrieve specific keywords -- these also set the current mark
For blanking purposes, we need to be able to get a NaN. The NaN we set is all bits on.