sppm Examples

Example 1. Search with results to standard output

Find the 10 brightest PPM Catalog Stars in 1-degree square box centered on 10:00:00 +30:00:00 J2000 and sort them by magnitude.
sppm -hn 10 -r -1800 10:00:00 +30:00:00 J2000
produces the following:
sppm WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
   PPM 10:00:00.000 +30:00:00.00 J2000 +- +00:34:38.5 +00:30:00.0 at epoch 2000.0000
   PPM 09:57:06.660 +30:14:24.47 B1950 +- +00:34:38.5 +00:30:00.0 at epoch 1950.0000
10 / 11 PPM Catalog Stars (Mag brighter than 11.30)
PPM_number  RA2000       Dec2000       Mag Type  Arcsec
  100009  09:59:36.219 +29:38:42.81   5.70  K0  1314.15
  099998  09:58:29.825 +29:32:03.48   9.00  K0  2046.78
  074898  09:59:07.157 +30:25:18.92   9.30  K0  1666.23
  099993  09:58:19.195 +29:55:34.31  10.00  G5  1336.65
  074904  09:59:19.902 +30:00:27.68  10.10  F8   521.60
  100003  09:59:15.811 +29:52:47.07  10.20  K0   719.26
  074901  09:59:15.306 +30:15:23.87  10.40  F5  1090.76
  074919  10:00:52.358 +30:12:16.20  10.40  K0  1001.82
  100029  10:01:22.187 +29:35:04.40  11.00  G0  1838.87
  074915  10:00:24.307 +30:25:51.60  11.30  K0  1583.27

Example 2. Search with results to a file

Find all PPM Catalog stars within 40 arcminutes of M51 and write the results, sorted by right ascension, to a Starbase file
sppm -wstr 2400 -o m51 13:27:48.311 +47:27:28.98 B1950
produces the following in the file m51.ppm:
catalog PPM
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  2400.00
catsort ra
program sppm WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
ppm_id  ra1950          dec1950         mag     type    pmra    pmdec   arcsec
------  ------------    ------------    -----   ----    ------  ------  ------
053556  13:24:16.792    +47:23:46.18    11.00   G5       -86.5   -18.8  2158.00
053559  13:24:29.349    +47:40:59.88    10.00   F8        13.3   -51.1  2170.68
053565  13:25:10.921    +47:04:42.70    9.70    F8       -61.3    20.1  2105.48
053578  13:26:55.868    +48:06:18.41    7.30    F5       -50.1     8.1  2388.65
053597  13:28:56.443    +47:57:56.76    10.00   F8       -19.1   -19.9  1952.85
053603  13:29:50.208    +47:29:28.45    7.00    A5        30.7   -11.1  1241.64

Example 3. Find closest star

Find the closest PPM Catalog Star to 10:00:00 +10:00:00 B1950.
sppm -ahr 3600 10:00:00 +10:00:00 B1950
produces the following:
sppm WCSTools 3.6.9, 6 July 2007, Doug Mink SAO  Find closest star
   PPM 10:00:00.000 +10:00:00.00 B1950 r= +01:00:00.0 at epoch 1950.0000
PPM_number RA1950      Dec1950        Mag Type  Arcsec
  156444  10:00:10.482 +10:09:31.40  10.50  K0   592.00

Example 4. List selected stars from catalog

List PPM Catalog stars 100001 through 100010
sppm -h 100001-100010
produces the following:
sppm WCSTools 3.6.9, 6 July 2007, Doug Mink SAO
PPM_number RA1950      Dec1950        Mag Type
  100001  09:56:06.290 +24:38:19.71   9.00  A2
  100002  09:56:25.675 +20:39:15.40   9.30  A7
  100003  09:56:22.513 +30:07:11.00  10.20  K0
  100004  09:56:25.588 +27:45:49.80   8.10  G0
  100005  09:56:31.975 +25:44:03.63  10.40  K0
  100006  09:56:35.179 +23:31:46.80   9.00  K0
  100007  09:56:41.241 +21:33:39.58   6.70  A2
  100008  09:56:47.338 +22:54:56.26  10.50  K0
  100009  09:56:43.470 +29:53:08.56   5.70  K0
  100010  09:56:48.829 +26:24:35.73   9.50  K0

Example 5. Match stars in input catalog

Match the stars in the input catalog test.tab to the PPM Catalog and list them one match per line.
sppm -l @test.tab
produces the following:
240020 22:15:54.555 -11:36:56.13  9.80  __  240020 22:15:54.555 -11:36:56.13  9.80 __  61     0.00     0.00     0.00
267313 17:47:51.210 -22:58:17.35  9.10  A0  267313 17:47:51.210 -22:58:17.35  9.10 A0  66     0.00    -0.00     0.00
196784 13:42:07.204 -09:06:40.06  8.60  K0  196784 13:42:07.204 -09:06:40.06  8.60 K0  69     0.00    -0.00     0.00
127373 10:24:43.528 +11:21:21.15 10.20  K0  127373 10:24:43.528 +11:21:21.15 10.20 K0  38     0.00    -0.00     0.00
095438 06:07:46.792 +23:28:44.76 10.30  K0  095438 06:07:46.792 +23:28:44.76 10.30 K0  93     0.00     0.00     0.00
where the columns are input catalog star name, RA, Dec, magnitude, spectral type, PPM number, RA, Dec, magnitude, number of stars in the 5000-arcsec-radius default search radius, and catalog - search dra, ddec, and dr (in arcseconds).
Telescope Data Center

Last updated 12 March 2003 by Doug Mink

[WCSTools] [WCSTools programs] [scat] [sppm]