1sethead(1)                  General Commands Manual                 sethead(1)
2
3
4

Name

6       sethead - Set FITS or IRAF header keyword values
7

Synopsis

9       sethead  [-dknv][r  letter]  <FITS  or IRAF file> kw1=val1 kw2=val2 ...
10       kwn=valuen
11

Description

13       Set parameters in the header of a FITS or IRAF image.  If the  keywords
14       do  not already exist, they are added at the end of the header.  Values
15       are assumed to be numeric if they contain no alphabetic characters  and
16       right-aligned.   Otherwise they are left-aligned after the equals sign,
17       and padded by spaces to a minimum of 8 characters.  To set keywords  in
18       a  list of files, substitute @<listfile> for the file names on the com‐
19       mand line.  To set a lot of keywords, put them, one per line, in a file
20       and  substitute  @<keylistfile> on the command line.  If two @ commands
21       are present, the program will figure out which contains file names  and
22       which  contains  keywords.   Lines  in a keyword list file which do not
23       contain an = are ignored.
24
25

Options

27       -h     Write HISTORY line into output header with sethead version, cur‐
28              rent date and time, and names of keywords set.
29
30       -k     Write  SETHEAD  keyword into output header with sethead version,
31              current date and time, and names of keywords set.  If a  SETHEAD
32              keyword  already  exists,  move  the old value to a HISTORY line
33              before writing the new value
34
35       -n     Write a new file with an added "e" before the extension.
36
37       -r letter
38              Rename  existing  keywords  whose  values  are  being  reset  by
39              prepending  the  character "letter".  Drop the last character if
40              the changed keyword is already 8 characters long.
41
42       -v     Print confirmations of each parameter setting
43

Web Page

45       http://tdc-www.harvard.edu/software/wcstools/sethead.html
46

Author

48       Jessica Mink, SAO (jmink@cfa.harvard.edu)
49
50
51
526 July 2001                        WCSTools                         sethead(1)
Impressum