imcat(1)
π« imcat β bestie edition (from the WCSTools crew, imcat(1)) π«
okay so listen. you've got FITS and IRAF image files, right? and you want to know which catalog stars are chilling inside them? that's literally what imcat(1) is for. WCSTools said "let her cook" and here we are. π
πΈ NAME πΈ
imcat β list catalog stars in FITS and IRAF image files. that's it. that's the whole job. and she does it gorgeously. π
β¨ SYNOPSIS β¨
imcat [options] FITS or IRAF file(s)
π¦ DESCRIPTION π¦
so the vibe is: she searches a given catalog inside the area described by the world coordinate system in an image header. no cap. the header tells her where the image is pointing and she goes hunting. π
and here's the cute part β she's got aliases, like a true main character. call her by a different name and she searches a different catalog:
imuacβ to search the USNO A 1.0 catalogimusacβ to search the USNO SA 1.0 catalogimgscβ to search the HST Guide Star Catalog
same girl, different eras. iconic behavior honestly. π
π OPTIONS π
-b [<RA> <Dec>]β output in B1950, and optionally you can drop in a new image center in B1950 (FK4) RA and Dec to replace the one sitting in the image header. glow-up for the coordinates. β¨-c <name>β pick your reference catalog, bestie. the options includegsc(=HST GSC),ua2(=USNO-A2.0),TMC(=2MASS Point Source Catalog),gsc2(=GSC II),ub1(=USNO-B1.0), a local file, etc. so many choices, all valid. π-dβ output RA,Dec positions in fractional degrees. degrees girlies rise. π-eβ output in ecliptic longitude and latitude. β¨-gβ output in galactic longitude and latitude. π-hβ print heading. else do not. simple as that. π-iβ print name instead of number in region file. names > numbers, always. π-j [<RA> <Dec>]β output in J2000, with an optional new image center in J2000 (FK5) RA and Dec to replace the one in the image header. the modern era of coordinates fr fr. π«-k <keyword>β add this keyword to output from tab table search. sprinkle it in. π-m [<bright magnitude>] <faint magnitude>β limiting catalog magnitude(s). default is none, and if you only give the faint one, bright is-2. she fills in the blanks for you, so thoughtful. π-n <num>β number of brightest stars to print. only the topnumbaddies. π-o <type>β set HST Guide Star object class to print:0=stars,3=nonstars,-1=all,-2=band. pick your fighter. π-p <scale>β initial plate scale in arcsec per pixel (default from file). π-q <c|d|o|s|x|v|+>β write an SAOimage region file with this shape:o=circle,s=square,d=diamond,+=cross, andx=X, with the radius scaled with magnitude unless you specified it with a-rcommand line entry.vwill cause stellar Guide Stars to plot with a+and nonstellar Guide Stars to plot with anx. if the character is preceded byp, the size specified by the-rcommand is assumed to be in pixels, not arcseconds. and apalone specifies a circle in pixels. phew. shapes are a whole personality, honestly. π·-r <radius>β write SAOimage region file with shapes (defaultCIRCLE) of this radius in arcseconds. SAOimage can then read this file, with will have positions and radii in pixels and plot it over an image. and if the radius is specified as zero, the output radii will scale between5anddim/100over the range of magnitudes of sources found in the image area. and if the-qoption is specified with apin it, this number is assumed to be in pixels instead of arcseconds. okay so-rand-qare lowkey a duo, iykyk. π«Ά-s d|m|n|p|r|x|yβ sort by(d)eclination,(m)agnitude,(n)o sort,(p)distance from center,(r)ight ascension, image(x)or(y). she can sort it however you want, she's flexible like that. π§-tβ tab table to standard output as well as file. double the delivery, double the fun. π-u numβ USNO catalog single plate number to accept. π-vβ verbose listing of processing intermediate results. the behind-the-scenes commentary we all deserve. π¬-wβ write tab table output fileimagename.cat. she saves it for you, queen behavior. π-x x yβ X and Y coordinates of reference pixel (default isCRPIXnor center of image). π-y epochβ epoch of image for proper motions. time-traveling stars, we love to see it. β-zβ use AIPS classic projections instead of WCSLIB; use CD matrix or CDELT instead of polynomial solution. vintage mode activated. π
π«Ά SEE ALSO π«Ά
scat()
π WEB PAGE π
http://tdc-www.harvard.edu/software/wcstools/imcat/
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu). the legend herself. we stan. π
that's the whole page bestie, go forth and catalog. no notes. π
okay and for the cute sign-off: this is from the WCSTools collection, dated 30 January 2003, and yes she's still serving imcat(1) energy after all this time. β¨π¦πΈ
π¦ 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
- 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