Man page - gethead(1)
Packages contas this manual
- keyhead(1)
- imstack(1)
- getdate(1)
- scat(1)
- imgsc(1)
- fixpix(1)
- imstar(1)
- fileroot(1)
- imua2(1)
- xy2sky(1)
- sp2char(1)
- sumpix(1)
- sethead(1)
- gettab(1)
- imhead(1)
- imsize(1)
- imfill(1)
- isfits(1)
- imusa2(1)
- gethead(1)
- bincat(1)
- subpix(1)
- isnum(1)
- getcol(1)
- i2f(1)
- imwcs(1)
- imresize(1)
- crlf(1)
- htmlsp(1)
- newfits(1)
- delhead(1)
- cphead(1)
- addpix(1)
- skycoor(1)
- wcstools(1)
- edhead(1)
- char2sp(1)
- imrot(1)
- sky2xy(1)
- getpix(1)
- conpix(1)
- wcsremap(1)
- wcshead(1)
- isrange(1)
- sgsc(1)
- simpos(1)
- delwcs(1)
- filext(1)
- getfits(1)
- filename(1)
- imsmooth(1)
- immatch(1)
- susa2(1)
- sua2(1)
- isfile(1)
- imcatalog(1)
- setpix(1)
- imextract(1)
apt-get install wcstools
Manual
| gethead(1) | General Commands Manual | gethead(1) |
Name
gethead - Print FITS or IRAF header keyword values
Synopsis
gethead [-hptv] [-d pathname] [-n num] <FITS or IRAF file> kw1 kw2 ... kwn
Description
Print values of the specified keywords from the given image header. By default they are all listed on one line, separated by spaces. The -v flag causes the keyword names and values to be printed, one keyword per line. To read keywords from a list of files, substitute @<listfile> for the file names on the command line. To read a lot of keywords, put them, one per line, in a file and substitute @<keylistfile> on the command line. If two @ commands are present, the program will figure out which contains file names and which contains keywords.
Options
- -a
- List file name even if keywords are not found
- -d
- Root directory for input files (default is cwd)
- -e
- Output keyword=value's on one line per file
- -f
- Never print filenames (default is to print them if more than one)
- -g
- Output keyword=value's on one line per keyword
- -h
- flag causes the keyword names to be printed at top of columns.
- -n
- Number of decimal places in numeric output
- -o
- OR conditions instead of ANDing them
- -p
- Print full pathnames of files
- -t
- flag causes the output to be in tab-separated tables with keyword column headings.
- -u
- Always print ___ if keyword not found, event if only one keyword in search
- -v
- Print output as <keyword>=<value>, one per line
Web Page
http://tdc-www.harvard.edu/software/wcstools/gethead.html
Author
Jessica Mink, SAO (jmink@cfa.harvard.edu)
| WCSTools | 6 July 2001 |