sky2xy(1)
β¨ sky2xy β the glow-up β¨
okay bestie, imagine you've got a FITS or IRAF image and a bunch of sky coordinates and you're like "where tf do these even land on my pixels" β that's literally what sky2xy is for π
it's pronounced sky-to-X-Y (iconic name, no notes), and it's a lil utility from the WCSTools manual, section 1 (General Commands Manual).
πΈ NAME πΈ
sky2xy β compute X Y from RA Dec using WCS in FITS and IRAF image files π«Ά
π SYNOPSIS π
sky2xy [-vbjg] file.fts ra1 dec1 ... ran decn
or, the group-chat-coded version:
sky2xy [-vbjg] file.fts @listfile
π¦ DESCRIPTION π¦
so. sky2xy is a utility for getting the image coordinates of a set of world coordinates in a FITS or IRAF image. it's giving translator, but make it astronomy β¨
the World Coordinate System (WCS) info sitting in the image header describes, in a standard way, the relationship between sky coordinates and image pixels. sky2xy uses that info to transform image right ascension and declination sky coordinate pairs into image coordinate (X,Y) pairs. slay.
one thing though β the program prints the coordinates in the same system as is given in the image header. no cap. but bestie, future versions will allow transformations to B1950/FK4, J2000/FK5, ecliptic or galactic coordinates π and input and output files in the Starbase format will eventually be allowed too. manifesting π―οΈ
π OPTIONS π
-bβ B1950 (FK4) input π©·-eβ Ecliptic longitude and latitude input π-gβ Galactic longitude and latitude input π-jβ J2000 (FK5) input β-gβ Galactic longitude and latitude input π (yes it's listed twice in the original, and yes we're keeping it twice, that's the whole point of this exercise bestie)-vβ more descriptive output, i.e. she's giving detail π¬-zβ use AIPS classic projections instead of WCSLIB π
π SEE ALSO π
xy2sky() β the reverse girlypop, go say hi π
π AUTHOR π
Jessica Mink, SAO (jmink@cfa.harvard.edu) β queen behavior, we stan π
and that's the whole page, fr fr. this version is from 6 July 2001, brought to you by WCSTools β so when you're out here turning RA/Dec into X/Y, just know you're standing on iconic, slightly-ancient shoulders πβ¨ bye bestie, go plot something gorgeous π
π¦ 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