man/fiheader

From FITSH
(Difference between revisions)
Jump to: navigation, search
(Created page with "__NOTOC__ === Synopsis === : fiheader [opions] [input] [-o|--output <output>] === Description === : This program allows the user to read, set, alter or remove a set of values...")
 
m (Apal moved page fiheader:synopsis to man/fiheader)
 

Latest revision as of 02:45, 14 September 2016

[edit] Synopsis

fiheader [opions] [input] [-o|--output <output>]

[edit] Description

This program allows the user to read, set, alter or remove a set of values associated with the specified keywords from the primary header unit (a.k.a. simply "header") of a FITS image file.

[edit] Options:

[edit] General options:

-h, --help
Gives general summary about the command line options.
--long-help
Gives a detailed list of command line options.
--version
Gives some version information about the program.
-i, --input <image file>
Name of the input FITS image file.
-o, --output <image file>
Name of the output FITS image file (can be the same as the input image file).

[edit] Read keyword values:

-g, --get, --read <keyword>,...
List of keywords to get from FITS header.
-F, --format <format>
Format of the output, space separated list of the arguments filename, keyword, value or comment, in the desired order.
-x, --extension <extension>
Read keyword values from the given extension.
Note that shell wildcard character patterns can be used in the keyword specifications.

[edit]

[edit] Altering FITS headers:

-s, --set, --update <keyword>=<value>[/<comment>],...
List of keywords with their new values (and optional comments) to be altered.
-a, --append <keyword>=<value>[/<comment>],...
List of keywords with their new values (and optional comments) to be appended to the existing list of keywords.
-d, --delete <keyword>,...
List of keywords to be removed from the header.
--force-alter-reserved-keywords
Enable to alter reserved FITS keywords (use with caution).
-w, --rewrite
Re-write the input file(s) directly. Use this option exclusively from -o|--output.
Personal tools