NAME:
	mk_rosat_stats
 PURPOSE:
       Creates a ps file containing statistics plots of the matching of
	xmm & wfc objects.
	Returns 4 arrays containing xmm no, matching other no
	and x and y distance of otherdb object to xmm object, as well as 2
	arrays containing and x and y offset of all wfcdb objects within 
	100 arcsec of an xmm object.  
 CALLING SEQUENCE:
	result=mk_rosat_stats,xmmdb,rosatdb,wfc_image,xmmno,rosatno,xoff,yoff,$
	totxdist,totydist,outfile=outfile,offmax=offmax,dmin=dmin,dmax=dmax
 INPUTS:
	xmmdb:The xmm database to be searched. Must start with 'dbase/... '
	rosatdb: The rosat  "    	"	"	"	"	"
 OPTIONAL INPUT PARAMETERS:
	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 100". In arcsec 
	dmin:	min distance for a match (use to make different set of matches:
		r<5", 5

(See /home/xmmssc/soft/idl/pro/html_tables/mk_rosat_stats.pro)


Suzanne Aigrain <visitor2@ast.cam.ac.uk>
Last modified: Thu Feb 15 12:49:55 2001