WCSTools programs

xy2sky
Examples

1. Print sky coordinates for 2 x-y positions in image test.fts
$ xy2sky -h test.fts 324.536 419.073 689.350 704.221
XY2SKY 3.0.6, 13 December 2001, Doug Mink (dmink@cfa.harvard.edu)
Print sky coordinates from test.fts image coordinates
    RA           Dec       Sys      X        Y
09:55:41.600 +69:00:27.99 J2000  324.536  419.073 
09:54:53.258 +69:03:49.30 J2000  689.350  704.221
without a heading:
$ xy2sky -j test.fts @imfile
09:55:41.600 +69:00:27.99 J2000  324.536  419.073 
09:54:53.258 +69:03:49.30 J2000  689.350  704.221 
09:54:31.983 +69:01:25.55 J2000  851.482  502.482 
09:54:42.238 +69:05:44.77 J2000  771.670  867.499

2. Print sky coordinates from image test.fts x-y positions in file imfile.

$ xy2sky -h test.fts @imfile
XY2SKY 3.0.6, 13 December 2001, Doug Mink (dmink@cfa.harvard.edu)
Print sky coordinates from test.fts image coordinates
    RA           Dec       Sys      X        Y
09:55:41.600 +69:00:27.99 J2000  324.536  419.073 
09:54:53.258 +69:03:49.30 J2000  689.350  704.221 
09:54:31.983 +69:01:25.55 J2000  851.482  502.482 
09:54:42.238 +69:05:44.77 J2000  771.670  867.499 

3. Print B1950 sky coordinates from image test.fts x-y positions in file imfile with verbose flag.

$ xy2sky -bvh test.fts @imfile
XY2SKY 3.0.6, 13 December 2001, Doug Mink (dmink@cfa.harvard.edu)
Print sky coordinates from test.fts image coordinates
    RA           Dec       Sys          X        Y
09:51:36.112 +69:14:41.34 B1950  <-  324.536  419.073 
09:50:46.972 +69:18:00.79 B1950  <-  689.350  704.221 
09:50:25.661 +69:15:36.22 B1950  <-  851.482  502.482 
09:50:35.675 +69:19:55.83 B1950  <-  771.670  867.499 

4. Print B1950 sky coordinates in tab table from image test.fts x-y positions in file imfile.

$ xy2sky -bt test.fts @imfile
image   test.fts
listfile        imfile
radecsys        B1950
epoch   1995.8027
program XY2SKY 3.0.6, 13 December 2001, Doug Mink (dmink@cfa.harvard.edu)
ra              dec             x               y       
------------    ------------    --------        --------
09:51:36.112    +69:14:41.34     324.536         419.073
09:50:46.972    +69:18:00.79     689.350         704.221
09:50:25.661    +69:15:36.22     851.482         502.482
09:50:35.675    +69:19:55.83     771.670         867.499

5. Prepend sky coordinates to tab table with image test.fts x-y positions in file imfile.tab.

$ xy2sky -ajt test.fts @imfile.tab
image   test.fts
listfile        imfile.tab
radecsys        J2000
epoch   1995.8027
program XY2SKY 3.0.6, 13 December 2001, Doug Mink (dmink@cfa.harvard.edu)
ra              dec             ra0             dec0            x              y       
------------    ------------    ------------    ------------    --------       --------
09:55:41.600    +69:00:27.99    09:51:36.112    +69:14:41.34     324.536        419.073
09:54:53.258    +69:03:49.30    09:50:46.972    +69:18:00.79     689.350        704.221
09:54:31.983    +69:01:25.55    09:50:25.661    +69:15:36.22     851.482        502.482
09:54:42.238    +69:05:44.77    09:50:35.675    +69:19:55.83     771.670        867.499


Last updated 10 November 2009 by Doug Mink

Telescope Data Center [xy2sky Commands]