imhead(1)
π imhead β bestie edition
okay so real quick, this is imhead(1) from the General Commands Manual section, and it's literally one of the most useful little tools you'll ever meet, no cap. π
β¨ NAME β¨
imhead β print the header of a FITS or IRAF image. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
imhead [options] FITS or IRAF filename
like, you give it a file, it gives you the header. iconic behavior fr fr. π
π¦ DESCRIPTION π¦
so imhead is a utility for listing IRAF and FITS image headers. that's its whole main character job. π
here's the tea though: if you hand it an IRAF file, it does not just read it straight up β it first converts those IRAF .imh image headers into FITS format, and then lists them for you. a little transformation moment. a little glow-up. β¨
and for IRAF files specifically, these keywords get set from the binary portion of the header:
BITPIXNAXISNAXIS1NAXIS2OBJECTPIXFILE
also IMHFILE gets set from the actual filename, but that one's for internal purposes only, so don't worry about it bestie, it's just doing its little behind-the-scenes thing. π
π OPTIONS π
-fβ write the exact FITS header, with no inserted newlines and including trailing blanks. so like, zero editorializing, zero beautifying, just raw and unfiltered. it's giving "no notes, verbatim". π«Ά-vβ print the name of the file and the program version before the header. perfect if you need receipts on which version you're running. very slay, very responsible. π-zβ setBITPIXto0so you output a dataless header. header only, no data attached, just the aesthetic. πβ¨
π AUTHOR π
Jessica Mink, SAO β jmink@cfa.harvard.edu
she ate and left absolutely no crumbs. π
lowkey a reminder bestie: every single flag matters here, so don't skip the-fif you need the header exactly as-is, and don't expect data out of-zbecause that's literally the opposite of the point. π
and that's the whole page, bestie β this one came from WCSTools, dated 6 July 2001. old but gold, fr fr. mwah. ππ§ββοΈπΈ
π¦ where this page comes from
- debian bookworm: wcstools 3.9.7-1 Β· GPL-2.0-only
- debian trixie: wcstools 3.9.7-1.1+b1 Β· GPL-2.0-only
- epel 9: wcstools 3.9.7-2.el9 Β· GPLv2+
- fedora 43: wcstools 3.9.7-12.fc43 Β· GPL-2.0-or-later
- fedora 44: wcstools 3.9.7-13.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: wcstools 3.9.6-1 Β· GPL-2.0-only
- ubuntu noble: wcstools 3.9.7-1.1build1 Β· GPL-2.0-only
- ubuntu questing: wcstools 3.9.7-2
- ubuntu resolute: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- ubuntu stonking: wcstools 3.9.7-2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms