imwcs(1)
β¨ NAME β¨
imwcs β set WCS in FITS and IRAF image files π«
(hey bestie, quick vibe check: this page lives in the General Commands Manual, and the command itself is imwcs. ok love u, continue π«Ά)
π SYNOPSIS π
imwcs [options] FITS or IRAF filename
π DESCRIPTION π
imwcs (and yes, you say it im-W-C-S, not "im-wicks", ok we've all been there π) is a utility for setting the world coordinate system β the WCS β of a FITS or IRAF image. The WCS is literally the relationship between sky coordinates and image pixels, and it can be described in a standard way right there in the header of an image. Not me being obsessed with headers. π
The program was originally written at the University of Iowa, but has been adapted and amplified by Jessica Mink at the Smithsonian Astrophysical Observatory. glow up fr. π
π¨ important reality check, bestie: imwcs currently works only on images where the rotation about the center is known to within a few degrees. It has been tested extensively only on images with near-zero rotation. no cap. π
So how does it actually do the thing? A plane-tangent projection (center right ascension and declination, plate scale, and rotation angle) is fit based on matches between stars in the image and stars in a reference catalog. And which catalogs, you ask? The HST Guide Star Catalog, the USNO A 1.0, SA 1.0, or UJ Catalog, or a user-supplied, tab-delimited Starbase catalog. pick your fighter β¨
π₯ OPTIONS π₯
ok so here's the full menu, no skips, we're eating everything π
-a <angle>β Initial rotation angle in degrees (default0).-b <RA> <Dec>β Initial center in B1950 (FK4) RA and Dec (default=RA,DECfrom file).-c <catalog name>β Reference catalog. Options includegsc(=HST GSC),ua2(=USNO-A2.0),TMC(=2MASS Point Source Catalog),gsc2(=GSC II),ub1(=USNO-B1.0), local file, etc.-d <catalog name>β Use this DAOFIND output catalog of X, Y, and magnitude instead of searching for stars in the image. The format is simply white-space-separatedX,Y, andmagnitueon a line, with#at the beginning of comment lines. (yes "magnitue", we keep her exactly as she is, iconic π )-eβ Erase image WCS keywords, getting initial WCS from command line.-fβ Write FITS output no matter what input.-g <class>β Guide Star Catalog class (-1=all,0,3) (default-1).-h <number>β Change the maximum number of reference stars to match from25toβ¦ and that's literally where the sentence ends on the original page π not me editing it, fr fr, that's all it says.-i <counts>β Minimum peak value for star in image. If negative, use-<counts>standard deviations as minimum.-j <RA> <Dec>β Initial center in J2000 (FK5) RA and Dec (default=RA,DECfrom file).-k <magnum>β Use this magnitude to sort brightest catalog stars.-lβ Reflectleft<->rightbefore rotating and fitting.-m [<bright magnitude>] <faint magnitude>β Limiting catalog magnitude(s) (default none, bright-2if only faint is given).-n <number>β Number of parameters to fit (1-8, or digit string). The default is2(RA+Dec) if <3 stars are matched,3(RA+Dec+scale) if <5 stars are matched, or4(RA+Dec+scale+rot) if 5 or more stars are matched. Alternatively this may be a list of all of the parameters to fit, in the formnnnnnn.., where1=RA,2=Dec,3=RA scale,4=Dec scale,5=rotation angle,6=Y axis rotation (CD matrix),7=RA reference pixel, and8=Dec reference pixel.-o <filename>β Write output to this file; may be the same as input file. This option automatically sets the-woption to write the file.-p <scale>β Initial plate scale in arcsec per pixel (default0).-q <option list>β<i>terate,<r>ecenter,<s>igma clip,<p>olynomial,<t>olerance reduce (half for each iteration). A number following an option repeats the option that many times.-r <angle>β Rotation angle in degrees before fitting (0,90,180,270) (default0).-s <frac>β Use this fraction extra stars (default1.0).-t <num>β Offset tolerance in pixels (default20).-u <file>β File ofX Y RA Decassignments for initial WCS.-vβ Verbose listing of processing intermediate results.-wβ Write WCS to a new file (default is read-only).-xβ X and Y coordinates of reference pixel (default is image center).-yβ Multiply image dimensions by this for search (default is1).-zβ Use AIPS classic projections instead of WCSLIB; use CD matrix or CDELT instead of polynomial solution.
heads up bestie: on the original page,-w,-x,-y, and-zare all squished together into one run-on line. I gave each one its own bullet so your eyes can breathe, but every single word is still there. π«Ά
π WEB PAGE π
http://tdc-www.harvard.edu/software/wcstools/imwcs/
go look, she's got lore β¨
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu) β main character energy, we stan π
and that's the whole page, bestie!! π this absolute banger of a manual page comes to you from the WCSTools crew, dated 30 January 2003, and it's page imwcs(1) of the manual. go set some WCS, u got this πβ¨π¦
π¦ 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 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