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 Β© 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