Inserting keywords in a FITS Header.



next up previous
Next: Adding/Inserting already formatted Up: Manipulating FITS Header Previous: Adding keywords to

Inserting keywords in a FITS Header.

    409:    FitsKw insertBoolKw(FitsKw, char *name, Bool value, char *comment);
    410:    FitsKw insertIntKw(FitsKw, char *name, int value, char *comment);
    411:    FitsKw insertFloatKw(FitsKw, char *name, float value, char *comment);
    412:    FitsKw insertDoubleKw(FitsKw, char *name, double value, char *comment);
    413:    FitsKw insertStringKw(FitsKw, char *name, char * value, char *comment);
    414:    FitsKw insertSpacesKw(FitsKw, char *comment);
    415:    FitsKw insertCommentKw(FitsKw, char *comment);
    416:    FitsKw insertHistoryKw(FitsKw, char *comment);

The keywords are inserted after the current position. The position is set with the ``find'', ``first'' and ``next'' functions.



Sdas Group
Wed Aug 21 10:27:26 EDT 1996