wcstools(1)
β¨ wcstools β the manual page, but make it cute β¨
okay bestie, sit down, hydrate, and let me tell you about wcstools π this is the WCSTools manual (that's the manual name, in wcstools(1), General Commands Manual β iykyk), and it's literally just a whole girlboss collection of programs to access image world coordinate systems and catalogs. no cap. let's go π¦
π Setting an Image World Coordinate System π
the "give your image a sense of self" era. main character energy only.
imwcsβ automatically finds stars in a FITS or IRAF image, matches them to HST Guide, USNO A, B, UCAC or UJ Stars, or others, computes the relation between sky coordinates and image coordinates, and writes it in the image header. (this one came after U of Iowa'sSETWCS, periodt.)delwcsβ deletes the WCS keywords from an image. and the tea β: if bothEPOCHandEQUINOXare present, thenEQUINOXgets deleted too. it's giving "no, you too."
π Using an Image World Coordinate System π
now that your image knows where it is in the universe (literally), here's how to talk to it.
imcatβ lists catalog sources that should be found in the area of the sky covered by a specific image. vibe check: does the sky agree with your picture? π₯imsizeβ prints the center and size of an image using the WCS keywords in the header.imstarβ finds and lists the n brightest stars in an IRAF or FITS image, with their sky coordinates if there's WCS info in the image header. bestie is doing the most and honestly? slay β¨sky2xyβ prints image pixel coordinates for given sky coordinates, either on the command line or in a list file.xy2skyβ prints sky coordinates for given image pixel coordinates, either on the command line or in a list file. yes it's the reverse of the one above, they're a matched set π«Ά
π Catalog Utility Programs π
for when you want to go shopping in the sky's inventory.
scatβ searches the HST GSC, USNO-A2.0, or another catalog, given a region on the sky.skycoorβ converts between J2000, B1950, and Galactic coordinates, from the command line or a file. three coordinate systems, one little icon π
π Image Utility Programs π
the supporting cast, but make it iconic.
addpixβ adds a constant value(s) to specified pixel(s).edheadβ edits the header of a FITS file, or the user parameters of an IRAF image file, using the text editor specified by theEDITORenvironment variable. (so it's literally whatever editor you picked, no judgment πΈ)getheadβ returns values for the keyword(s) specified after the filename.getpixβ returns the value(s) of specified pixel(s).i2fβ reads a two-dimensional IRAF image file and writes a FITS image file.imheadβ prints a FITS or IRAF header.imrotβ rotates and/or reflects FITS or IRAF image files.setpixβ sets specified pixel(s) to specified value(s).setheadβ sets header parameters in FITS or IRAF images.
π Author π
Jessica Mink, SAO (jmink@cfa.harvard.edu) β the actual legend behind all of this, we stan π
and that's the whole page bestie, no notes. this version of wcstools(1) is from WCSTools, dated 6 July 2001, and honestly the way it's still out here serving world coordinate systems twenty-plus years later? iconic behavior. bye bestie, go match some stars βπ¦β¨
π¦ 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