WCS-RESAMPLE(1)

πŸ’« wcs-resample β€” NAME πŸ’«

okay so bestie, wcs-resample is that girl πŸ’… she projects one FITS image onto another image. literally taking your pixels and dropping them onto a whole different frame. it's giving celestial glow-up ✨


πŸŽ€ SYNOPSIS πŸŽ€

wcs-resample [options] input-FITS output-WCS output-FITS

three positional args, no skips, no shortcuts 🫢 the input-FITS is your source image, output-WCS is where the output world coordinate system goes, and output-FITS is the resampled image that comes out the other side. slay.


✨ OPTIONS ✨

  • -E extension β€” which FITS extension of the input image we're pulling from. default: 0. yes, the boring first one, but you can point her somewhere else πŸ’–
  • -w file β€” give her a WCS file to read from. by default she just reads the WCS straight out of the input FITS image itself, no extra file needed. independent queen 🌸
  • -e file β€” the input WCS FITS extension to use. default: 0.
  • -x extension β€” the output WCS FITS extension. default: 0.
  • -L order β€” Lanczos order. this is the fancy interpolation setting, and bestie listen β€” the default is nearest-neighbor resampling, so if you want smooth Lanczos energy you have to ask for it. the order is literally the order number. no cap πŸ”₯
  • -z β€” zero out inf/nan input image value. those little inf and nan gremlins in your image? this nukes them to zero so they stop ruining the vibe. πŸ’€βœ¨

πŸ‘‘ AUTHOR πŸ‘‘

The Astrometry.net team. Principal investigators are David W. Hogg (NYU) and Dustin Lang (CMU). icons, honestly. main character energy, both of them 🫢🌟


🌈 SEE ALSO 🌈


and that's the whole page, bestie!! this one's from astrometry.net, version 0.56, dated July 2015 β€” old but iconic, fr fr πŸŽ€βœ¨ bye ily, go resample something pretty πŸ’–

πŸ“¦ where this page comes from