Next: AST_HASATTRIBUTE - Test if an Object has a named attribute
Up: AST Routine Descriptions
Previous: AST_GRISMMAP - Create a GrismMap
AST_GetTableHeader
-
Get the FITS headers from a FitsTable
- Description:
- This function returns a pointer to a FitsChan holding copies of
the FITS headers associated with a FitsTable.
- Invocation:
- RESULT = AST_GETTABLEHEADER( THIS, STATUS )
- Arguments:
-
THIS = INTEGER (Given)
-
Pointer to the FitsTable.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Returned Value:
-
AST_GetTableHeader = INTEGER
-
A pointer to a deep copy of the FitsChan stored within the
FitsTable.
- Notes:
- The returned pointer should be annulled using
AST_ANNUL
when it is no longer needed.
- Changing the contents of the returned FitsChan will have no effect
on the FitsTable. To modify the FitsTable, the modified FitsChan must
be stored in the FitsTable using
AST_PUTTABLEHEADER.
Next: AST_HASATTRIBUTE - Test if an Object has a named attribute
Up: AST Routine Descriptions
Previous: AST_GRISMMAP - Create a GrismMap
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council