NAME:
	lhr_allfields
 PURPOSE:
	Same as lhr_us but loops through all fields
	It read the fields ~xmmssc/public_html/xidops/fields_status.txt,
	and includes any fields with an xmm source list and wfci data.
	If there are more than one xmm source lists it asks the user which 
	to use. The Lockman hole field is not included
 CATEGORY:

 CALLING SEQUENCE:
	lhr_allfields[,infile=infile,offmax=offmax,ps=ps,gif=gif,lr=lr,$
	top=top,bot=bot,dr=dr,rel=rel,one_per_page=one_per_page,noplot=noplot]
 OPTIONAL INPUT KEYWORDS
 	infile: text file containing the file names of inputs. Default is
		~xmmssc/public_html/xidops/fields_status.txt
	offmax: maximum offset for XMM/WFC/CIRSI matches 
		default is 5, arcsecs, max 30
	lr,top,bot,dr: if set to named variables with more than 1 element, 
		they are taken to be the arrays to use for the histograms, 
		avoiding the need to call lhr_us many times. If set to named 
		scalars or undefined variables, they will be filled with the 
		corresponding (1D) arrays.
		It is assumed that if lr is set so are top,bot & dr
 OPTIONAL OUTPUT KEYWORDS
	ps,gif: if set (either, not both), outputs are ps+'1.ps' or 
		gif+'1.gif', ps+'2.ps' or gif+'2.gif'. otherwise window.
	noplot: if set, no histogram plots are produced
	one_per_page: if set as well as ps, only one plot per page
 DEPENDENCIES:
 	The necessary databases should already be made. If a database is 
	missing that field will be ignored.
 RESTRICTIONS

 CALLED PROCEDURES:
 astrolib functions
 rd_to_vector
 lhr_us
 
 MODIFICATION HISTORY:
	24-Jan-2001  Original by Suzanne Aigrain

(See /home/xmmssc/soft/idl/pro/lhr/lhr_allfields.pro)


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