WCSTools catalog programs

sact Examples

Example 1. Search with results to standard output

Find the 10 brightest ACT stars in a 1-degree box centered at 10:00:00 +10:00:00 and sort them by right ascension.
sact -s r -hn 10 -r -1800 10:00:00 +10:00:00 J2000
produces the following:
sact WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
       ACT 10:00:00.000 +10:00:00.00 J2000 +- +00:30:27.8 +00:30:00.0 at epoch 2000.0000
10 / 12 ACT Catalog Stars (MagB brighter than 11.77)
ACT_number   RA2000       Dec2000      MagB   MagV    Arcsec
0930.19286 09:58:00.597 +09:41:40.60   9.37   9.02   2079.11
0930.19612 09:58:28.100 +10:02:51.14  10.46   9.87   1368.21
0930.19617 09:58:28.737 +10:25:28.51   9.98   9.29   2037.51
0930.19830 09:58:45.687 +10:27:31.07   9.07   7.29   1982.27
0930.20165 09:59:17.053 +10:10:03.01  10.32   9.76    875.16
1000.00053 10:00:05.024 +09:38:23.39  11.77  10.26   1298.74
1000.00651 10:00:59.903 +09:40:43.75  11.21  10.54   1456.27
1000.00931 10:01:24.389 +10:04:24.69  11.63  10.96   1274.26
1000.01147 10:01:42.738 +09:36:40.37  11.26  10.09   2065.18
1000.01187 10:01:46.851 +10:12:57.36   9.84   9.24   1758.9

Example 2. Search with results to a file

Find all ACT stars within 1 degree of M51 and write results to a file
sact -wtr 3600 -o m51 13:27:48.311 +47:27:28.98 B1950
produces the following in the file m51.act:
catalog ACT
ra      13:27:48.311
dec     +47:27:28.98
radecsys        fk4
equinox 1950.0000
epoch   1950.0000
rpmunit mas/year
dpmunit mas/year
radsec  3600.00
catsort mag 
program sact WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
act_id          ra1950          dec1950         magb    magv    pmra    pmdec   arcsec
----------      ------------    ------------    -----   -----   ------  ------  ------
1330.01060      13:29:50.206    +47:29:28.30    7.33    7.08      28.9    -7.8  1241.61
1300.15262      13:26:55.868    +48:06:18.39    7.53    7.09     -48.5     3.7  2388.63
1300.15432      13:27:11.411    +46:37:43.41    8.67    8.20      -1.2     5.6  3009.30
1330.01799      13:31:08.231    +48:00:55.42    8.84    7.59      13.5   -43.5  2844.84
1300.14242      13:25:07.472    +48:15:39.65    9.88    8.51      -0.8   -39.1  3313.01
 . . .

1300.13967      13:24:37.023    +47:53:19.19    12.17   10.75      3.7   -12.4  2477.08
1330.02074      13:31:38.224    +48:08:26.69    12.19   11.51    -21.1    13.6  3377.36
1300.13794      13:24:16.912    +46:57:24.88    12.26   11.55    -13.9    -1.1  2809.83
1330.00061      13:28:02.136    +47:59:43.90    12.85   10.78     -9.3     6.3  1939.95
1300.15528      13:27:25.126    +48:01:36.33    12.89   10.82     -1.9   -28.4  2060.67

Example 3. Find closest star

Find the closest USNO-SA2.0 star to 10:00:00 +30:00:00 J2000
sact -ha 10:00:00 +30:00:00 J2000
produces the following:
sact WCSTools 3.6.9, 6 July 2007, Doug Mink SAO  Find closest star
       ACT 10:00:00.000 +30:00:00.00 J2000 r= +00:30:00.0 at epoch 2000.0000
ACT_number   RA2000       Dec2000      MagB   MagV    Arcsec
0930.20199 09:59:19.889 +30:00:27.48  10.45   9.93    521.76

Example 4. List selected stars from catalog

List ACT Reference Catalog stars 1200.00001 - 1200.00010
sact -s n -h 1200.00001-1200.00010x0.00001
produces the following:
sact WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
ACT_number   RA2000       Dec2000      MagB   MagV  
1200.00001 12:00:00.008 -02:37:51.55  11.36  10.87 
1200.00002 12:00:00.221 -37:09:04.64  12.39  10.88 
1200.00003 12:00:00.266 -58:00:06.94  11.77  10.45 
1200.00004 12:00:00.273 -18:24:29.01  12.35  10.80 
1200.00005 12:00:00.651 -70:49:43.17  11.28  10.90 
1200.00006 12:00:00.783 -66:10:09.29  11.66  11.35 
1200.00007 12:00:01.001 -26:43:47.45  12.18  11.33 
1200.00008 12:00:01.017 -27:30:49.77  10.35   9.68 
1200.00009 12:00:01.154 +43:20:37.01   9.98   8.64 
1200.00010 12:00:01.308 -53:14:15.75  11.25  10.36

Example 5. Match stars in input catalog

Match the stars in the input catalog test.tab to the ACT Reference Catalog and list them one match per line.
sact -l @test.tab
produces the following:
240020 22:15:54.555 -11:36:56.13  9.80  __  2200.10527 22:15:54.555 -11:36:56.23 11.08 10.35   10.7  -30.3 11    -0.01    -0.10     0.10
267313 17:47:51.210 -22:58:17.35  9.10  A0  1730.14294 17:47:51.194 -22:58:17.27  9.21  8.86   -1.2  -11.2 22    -0.22     0.08     0.24
196784 13:42:07.204 -09:06:40.06  8.60  K0  1330.06726 13:42:07.203 -09:06:40.06  9.64  8.60   12.0  -13.0 14    -0.02    -0.00     0.02
127373 10:24:43.528 +11:21:21.15 10.20  K0  1000.16460 10:24:43.507 +11:21:21.52 10.91  9.54   -7.5   -8.5 11    -0.31     0.37     0.48
095438 06:07:46.792 +23:28:44.76 10.30  K0  0600.06193 06:07:46.841 +23:28:44.96 10.44  9.38   -2.1   -1.8 33     0.67     0.20     0.70

where the columns are input catalog star name, RA, Dec, magnitude, spectral type, Guide Star region.number, RA, Dec, B magnitude, V magnitude, RA proper motion, Dec proper motion, number of stars in the 1800-arcsec-radius default search radius, and catalog-search dra, ddec, and dr (in arcseconds).

Telescope Data Center

Last updated 11 July 2007 by Doug Mink

[scat] [sact] [sty2] [sty2 examples]