NAME:
match_xmm
PURPOSE:
Compares each entry of xmm db with all entries of other xmm
db and finds nearest other db entry.
Returns 4 arrays containing xmm no, matching other no
and x and y distance of otherdb object to xmm object, as well as 3
arrays containing accurate great circle distance and x and y offset
of all otherdb objects within 28.5 arcsec of an xmm object.
CALLING SEQUENCE:
match_xmm,xmmdb,otherdb[,xmmno,other_no,xoff,yoff,totd,totx,toty,$
offmax=offmax,dmax=dmax,dmin=dmin]
INPUTS:
xmmdb:The xmm database to be searched. Must start with 'dbase/... '
otherdb: The other " " " " " "
OPTIONAL INPUT KEYWORDS:
offmax: STRING!!!!maximum offax angle of xmm objects to be matched.
If not set, all xmm objects are matched
dmax: max distance for a match to be accepted (& included in xoff...)
if not set, default is 30". In arcsec
dmin: min distance for a match (use to make different set of matches:
r<5", 5
(See /home/xmmssc/soft/idl/pro/match/match_xmm.pro)
Suzanne Aigrain
<visitor2@ast.cam.ac.uk>
Last modified: Thu Feb 15 12:42:01 2001