FIHEADER(1)
π FIHEADER β the manual, but make it cute π
okay bestie, welcome to fiheader(1), a user command that is genuinely iconic and also lowkey a whole personality. let's get into it π«Ά
β¨ NAME β¨
fiheader β reading and manipulating FITS header keywords. that's the whole vibe. reading them, setting them, altering them, deleting them. main character energy fr fr π
π SYNOPSIS π
fiheader [opions] [input] [-o|--output <output>]
(and yes, the typo in [opions] is literally in the original, so we are keeping it exactly as it is. not me fixing it. never that. π
)
π¦ DESCRIPTION π¦
so here's the tea: this program lets you read, set, alter or remove a whole set of values that are associated with whatever keywords you specify β and it does all of that in the primary header unit of a FITS image file. that's the header, bestie, the plain old header. no cap. π
πΈ OPTIONS πΈ
π General options:
-h,--helpβ gives you a general summary about the command line options. the quick lil recap, yk?--long-help,--help-longβ gives you a detailed list of command line options. the deluxe version.--wiki-help,--help-wiki,--mediawiki-help,--help-mediawikiβ gives you a detailed list of command line options, but formatted in Mediawiki format. wiki girlies rise up β¨--version,--version-short,--short-versionβ gives you some version information about the program. the who-am-i check π«-i,--input <image file>β the name of the input FITS image file.-o,--output <image file>β the name of the output FITS image file. and yes, it can be the same as the input image file, she contains multitudes π
π Read keyword values:
-g,--get,--read <keyword>,...β the list of keywords to get from the FITS header. a lil shopping list of keywords ποΈ-F,--format <format>β the format of the output. it's a space separated list of the arguments"filename","keyword","value","comment"or"list", in whatever order you want them. and the"list"here? it's a list of tab-separated values of matched keywords. slay, customisable π-x,--extension <extension>β read keyword values from the given extension. going deeper, bestie π
note that shell wildcard character patterns can be used in the keyword specifications. so go wild with the wildcards, she supports it π
π Altering FITS headers:
-s,--set,--update <keyword>=<value>[/<comment>],...β list of keywords with their new values (and optional comments) to be altered. glow-up time π-a,--append <keyword>=<value>[/<comment>],...β list of keywords with their new values (and optional comments) to be appended to the existing list of keywords. adding to the roster, not replacing it π«Ά-d,--delete <keyword>,...β list of keywords to be removed from the header. she's gone, bye π--force-alter-reserved-keywordsβ enable this to alter reserved FITS keywords. β οΈ use with caution β these are reserved for a reason bestie, don't be reckless with the crown jewels ππ-w,--rewriteβ re-write the input file(s) directly. and listen: use this option exclusively from-o|--output. pick a lane, not both π«
π REPORTING BUGS π
found a bug? report bugs to <apal@szofi.net>, and see also https://fitsh.net/. tell them everything, they wanna know ππ
β COPYRIGHT β
Copyright Β© 1996, 2002, 2004-2008, 2010-2016, 2018-2020; Pal, Andras <apal@szofi.net>
and that's the whole page, bestie!! this was fiheader version 0.9.4, dated 2021.01.24, and the page itself is from January 2021 β shoutout to the fiheader 0.9.4 (2021.01.24) era, we love her, periodt πβ¨
π¦ where this page comes from
- debian bookworm: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- debian trixie: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu jammy: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu noble: fitsh 0.9.4-1 Β· GPL-3.0-or-later
- ubuntu resolute: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- ubuntu stonking: fitsh 0.9.4-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms