wcshead(1)
β¨ wcshead(1) β¨
okay bestie, so you know how FITS and IRAF image headers have all that world coordinate system (WCS) lore buried in them? wcshead is literally the girl who goes in there and pulls it out for you. it's a General Commands Manual situation, and honestly? iconic. π
π NAME π
wcshead β print the WCS part of a FITS or IRAF image header
πΈ SYNOPSIS πΈ
wcshead [-hrtvsz] FITS or IRAF file(s)
π¦ DESCRIPTION π¦
So wcshead is this lil utility that prints out the world coordinate system info sitting inside IRAF and FITS image headers. no cap.
Here's the tea though: if you hand it an IRAF .imh image header, it converts it to FITS format first before it extracts anything. so it's doing a whole lil glow-up on your file behind the scenes. π
And for IRAF files specifically, the image dimensions and the object name get set from the binary portion of the header. not the text part, the binary part. iykyk.
π OPTIONS π
-hβ print the CRVALs ashh:mm:ssanddd:mm:ssinstead of in degrees. cute lil sexagesimal moment for you astronomers. β-rβ print the first dimension as rest wavelength limiting values-tβ print tab-separated table output, and yes, with headers. very spreadsheet-coded of it. π-vβ print more intermediate information for debugging. she's yapping (affectionately) so you can figure out what's going on. π-wβ print only the first dimension limiting values (which is the wavelength, for spectra)-zβ use AIPS classic projections instead of WCSLIB
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu)
okay that's the whole page, you ate that fr fr π«Ά
this one's from the WCSTools era, dated 19 July 2004 β so yeah, she's a legacy queen and we respect her π
mwah, go read some headers bestie πβ¨π
π¦ 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