ship Examples

Example 1. Search with results to standard output

Find the 10 brightest Hipparcos Catalog Stars in a 1-degree square box centered on 10:00:00 +10:00:00 J2000 and sort them by magnitude.
ship -hn 10 -r -1800 10:00:00 +10:00:00 J2000
produces the following:
ship WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
Hipparcos 10:00:00.000 +10:00:00.00 J2000 +- +00:30:27.8 +00:30:00.0 at epoch 2000.0000
Hip_num  RA2000       Dec2000     MagB  MagV  Parlx Parer Type  Arcsec
048921 09:58:45.688 +10:27:31.07  9.07  7.29  1.80  0.90  K0  1982.26
048866 09:58:00.598 +09:41:40.58  9.37  9.02  5.59  1.20  F5  2079.10
049143 10:01:46.850 +10:12:57.37  9.84  9.24  7.10  1.33  G0  1758.98

Example 2. Search with results to a file

Find all Hipparcos Catalog stars within one degree of M51 and write the results to a file
ship -wtsr -r 3600 -o m51 13:27:48.311 +47:27:28.98 B1950
produces the following in the file m51.hipparcos:
catalog Hipparcos
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 ra
program ship WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
hip_id  ra1950          dec1950         magb    magv    parlx   parer   type    pmra    pmdec   arcsec
------  ------------    ------------    -----   -----   -----   -----   ----    ------  ------  ------
065620  13:25:07.494    +48:15:39.65    9.89    8.51    1.12    0.96    K0        -6.2   -39.2  3312.91
065627  13:25:10.928    +47:04:42.79    9.91    9.20    12.06   1.14    F8       -71.4    29.4  2105.37
065663  13:25:38.871    +48:01:19.93    10.48   10.03   -4.33   6.66    K0         1.5   -46.2  2414.45
065664  13:25:39.234    +48:01:05.34    10.59   9.30    0.81    4.03    K0         3.9   -44.0  2400.23
065768  13:26:55.865    +48:06:18.43    7.53    7.10    4.75    0.84    F5       -48.0     2.6  2388.68
065803  13:27:11.414    +46:37:43.29    8.67    8.20    5.07    0.91    F4        -2.1     8.2  3009.41
065860  13:27:52.705    +46:45:32.54    10.94   10.81   0.58    1.67    A2         2.3    -7.6  2516.84
066004  13:29:50.211    +47:29:28.28    7.33    7.08    7.84    0.72    A5        27.5    -7.2  1241.66
066116  13:31:08.215    +48:00:55.34    8.84    7.59    4.83    0.83    K0        17.5   -41.8  2844.67
066151  13:31:28.286    +47:03:09.37    10.13   8.92    3.84    1.04    G5         1.1     5.6  2673.19
066262  13:32:46.713    +47:37:54.40    11.72   10.34   22.61   1.47    K5      -339.6   -20.3  3085.39

Example 3. Find closest star

Find the closest Hipparcos Catalog star to 10:00:00 +10:00:00 B1950.
ship -ah 10:00:00 +10:00:00 B1950
produces the following:
ship WCSTools 3.6.9, 6 July 2007, Doug Mink SAO  Find closest star
Hipparcos 10:00:00.000 +10:00:00.00 B1950 r= +00:30:00.0 at epoch 1950.0000
Hip_num RA1950      Dec1950      MagB  MagV  Parlx Parer Type  Arcsec
049194 09:59:47.370 +10:10:49.81 10.58  9.02 -0.31  1.18  K0  676.05

Example 4. List selected stars from catalog

List Hipparcos Catalog stars
ship -h 1001-1010
produces the following:
ship WCSTools 3.6.9, 11 July 2007, Doug Mink SAO
Hip_num  RA2000       Dec2000     MagB  MagV  Parlx Parer Type
001002 00:12:31.964 -52:20:00.61 10.50  9.34  5.62  1.23  K0
001003 00:12:32.812 -30:51:35.41  9.58  8.73 21.09  1.23  G8
001004 00:12:32.964 +24:38:10.93  9.28  8.93  4.78  1.04  F0
001005 00:12:33.155 -11:41:34.74  8.56  8.19  5.39  1.46  F0
001006 00:12:33.512 +21:42:48.37 11.67  0.00 34.54 11.74  __
001008 00:12:33.625 +44:35:26.67  9.43  7.60  0.07  0.83  K0
001007 00:12:33.959 -88:21:46.33  7.27  7.22  1.73  0.60  B9
001009 00:12:34.165 +44:42:25.90  7.94  6.63  6.30  0.82  K0
001010 00:12:35.158 -36:29:09.67 10.87 10.07  2.07  1.54  G2
001011 00:12:35.818 +44:18:58.73  8.44  7.13  5.28  0.80  K0

Example 5. Match stars in input catalog

Match the stars in the input catalog test.tab to the Hipparcos 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  __  109998 22:16:45.414 -11:38:56.69  8.54  7.36  5.50  1.01 G8    44.0  -31.0 3   747.22  -120.56   756.88
267313 17:47:51.210 -22:58:17.35  9.10  A0  087156 17:48:22.528 -23:13:57.30  8.34  7.90  8.85  1.09 F0    15.1   -9.7 2   432.10  -939.95  1034.51
196784 13:42:07.204 -09:06:40.06  8.60  K0  066803 13:41:36.777 -08:42:10.74  7.14  5.22  7.13  0.89 M2   -91.7   40.3 1  -450.91  1469.32  1536.95
127373 10:24:43.528 +11:21:21.15 10.20  K0  050845 10:22:57.377 +11:14:17.79 11.36  9.69  0.30  1.85 K2     1.5  -18.6 1 -1561.42  -423.36  1617.79
095438 06:07:46.792 +23:28:44.76 10.30  K0  029070 06:07:56.543 +23:40:13.50  9.78  9.16 -1.18  2.06 F0     3.2   -3.4 4   134.05   688.74   701.66
where the columns are input catalog star name, RA, Dec, magnitude, spectral type, Hipparcos number, RA, Dec, B magnitude, V magnitude, parallax, parallax error, spectral type, 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 6 July 2001 by Doug Mink

[WCSTools] [WCSTools programs] [scat] [ship]