Next: astPutTables - Store one or more FitsTables in a FitsChan
Up: AST Function Descriptions
Previous: astPutTable - Store a single FitsTable in a FitsChan
astPutTableHeader
-
Store new FITS headers in a FitsTable
- Description:
- This function
stores new FITS headers in the supplied FitsTable. Any existing
headers are first deleted.
- Synopsis:
- void astPutTableHeader( AstFitsTable
this, AstFitsChan
header )
- Parameters:
-
this
-
Pointer to the FitsTable.
-
header
-
Pointer to a FitsChan holding the headers for the FitsTable.
A deep copy of the supplied FitsChan is stored in the FitsTable,
replacing the current FitsChan in the Fitstable. Keywords that
are fixed either by the properties of the Table, or by the FITS
standard, are removed from the copy (see "Notes:" below).
- Notes:
- The attributes of the supplied FitsChan, together with any source
and sink functions associated with the FitsChan, are copied to the
FitsTable.
- Values for the following keywords are generated automatically by
the FitsTable (any values for these keywords in the supplied
FitsChan will be ignored): "XTENSION", "BITPIX", "NAXIS", "NAXIS1",
"NAXIS2", "PCOUNT", "GCOUNT", "TFIELDS", "TFORM%d", "TTYPE%d",
"TNULL%d", "THEAP", "TDIM%d".
Next: astPutTables - Store one or more FitsTables in a FitsChan
Up: AST Function Descriptions
Previous: astPutTable - Store a single FitsTable in a FitsChan
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council