delhead(1)

πŸ’– delhead(1) β€” the group chat guide πŸ’–

okay bestie, so this is delhead, part of the General Commands Manual, and honestly? she's a little icon. she ✨deletes✨ header keyword entries and she does it with main character energy. let's get into it πŸŽ€


✨ NAME ✨

delhead β€” set FITS or IRAF header keyword values

(yes i know, "set" when the whole vibe is deleting. the manpage said it, not me, and i am nothing if not a faithful narrator πŸ’…)


πŸ¦‹ SYNOPSIS πŸ¦‹

delhead [-nv] <FITS or IRAF file[s]> kw1 kw2 ... kwn

look at her. compact. efficient. slay.


🌸 DESCRIPTION 🌸

So what she actually does: delhead deletes keyword entries from the header of FITS or IRAF image[s]. periodt.

And here's the chill part β€” if a keyword does not already exist, she just... ignores it. no drama, no error, no screaming into the void. she simply moves on with her life πŸ™ˆ.

Got a whole pile of files and you're not about to type them all out like some kind of peasant? substitute @<listfile> for the file names on the command line. she'll read the file names straight outta that file for you 🫢.

Got a disgusting number of keywords to delete and your fingers are tired? put them, one per line, in a file and substitute @<keylistfile> on the command line instead. iconic behavior honestly.

And now the ✨fun✨ part: if two @ commands are present, the program will figure out which contains file names and which contains keywords. she's smart like that. she just knows πŸ’œ.


πŸ’… OPTIONS πŸ’…

  • -n β€” Write a new file with an added "e" before the extension. The default is to overwrite the input file 🫣 (so if you don't pass this and you regret it later... bestie. that's on you. it's giving no undo button).
  • -v β€” Print confirmations of each parameter setting. she'll tell you everything she did, step by step, like a bestie recapping the whole night πŸ—£οΈβœ¨.

🌈 WEB PAGE 🌈

http://tdc-www.harvard.edu/software/wcstools/delhead.html

go peek, i'll wait πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Jessica Mink, SAO (jmink@cfa.harvard.edu) β€” the queen who built this. absolute legend, no cap πŸŽ€


and that's the whole page, babe. WCSTools, dated 15 July 1999, and it still eats to this day. k bye, go delete some keywords responsibly πŸŒΈπŸ’œ