imrot(1)

πŸ’« imrot(1) β€” General Commands Manual πŸ’«

okay bestie, welcome to imrot, your new fave lil utility, straight outta the WCSTools fam 🫢


✨ NAME ✨

imrot β€” Rotate and/or Reflect FITS and IRAF image files πŸŒ€πŸͺž


🌸 SYNOPSIS 🌸

imrot [options] Fits or IRAF file(s)

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so imrot is a utility for rotating and/or reflecting FITS or IRAF images. that's the whole vibe. πŸ’…

here's the tea though:

  • Images can be rotated only in multiples of 90 degrees. that's it, that's the rule, no freeform spinning, this is not a ballet class 🩰
  • The image may be output with a different data type than the one it came in as β€” glow-up in a different format, slay ✨
  • IRAF files may be written out as FITS files πŸ‘‘

πŸ’… OPTIONS πŸ’…

  • -a β€” Mirror if IRAF image WCS says to πŸͺž iykyk
  • -f β€” Write FITS image from IRAF input πŸ“
  • -l β€” Reflect image across vertical axis πŸ™ƒ
  • -o β€” Allow overwriting of input image, else write new one ⚠️ (so if you don't pass this, it makes a new one instead β€” be careful out here)
  • -r <angle> β€” Image rotation angle in degrees (default 0) πŸ“
  • -s β€” Split multi-extension FITS file βœ‚οΈ
  • -v β€” Verbose πŸ—£οΈ
  • -x <num> β€” Output pixel size in bits (FITS code, default=input) πŸ”’

and for -x <num>, the allowed values are literally:

  • 8, 16, 32 for integers
  • -16 for unsigned integers
  • -32 and -64 for 4- and 8-byte floating point numbers

no cap, those are the only ones. don't try to freestyle it 🚫


πŸ‘‘ AUTHOR πŸ‘‘

Jessica Mink, SAO (jmink@cfa.harvard.edu) πŸ’–


fr fr, that's the whole page. go rotate something. main character energy only 🌈

okay bestie that's a wrap πŸŽ€ this page is from WCSTools, dated 6 July 2001 β€” yeah she's an icon from 2001 and she still ate, we love a timeless queen πŸ‘‘πŸ’–