----- file created by makedoc on: Tue Feb 11 14:15:24 2003
----- Documentation for /scisoft/IDL/scisoft/xaid/src//getjump.pro -----

 NAME:
	GETJUMP

 PURPOSE:
	This function calculates the jump of a xafs spectrum

 CATEGORY:
	XAID xafs data analysis package. 

 CALLING SEQUENCE:

	myjump = GETJUMP(myset)

 INPUTS:
	myset:	fltarr(2,npoints) set of data

 OPTIONAL INPUTS:
	
 KEYWORD PARAMETERS:
	NOMOUSE: when set, uses ASCII terminal dialog, otherwise uses
		widget dialogs.
	DIALOG_PARENT: this keyword is passed to dialogs for centering
		the widget with a parent widget.

 OUTPUTS:
	myjump: the value with the jump

 OPTIONAL OUTPUTS:

 COMMON BLOCKS:

 SIDE EFFECTS:
	None

 RESTRICTIONS:
	None

 PROCEDURE:
	The jump value is read with the mouse 

 EXAMPLE:

		jump = GETJUMP (set2)

 MODIFICATION HISTORY:
 	Written by:	Manuel Sanchez del Rio. ESRF
	February, 1993	
	93-05-24 MSR small modifications
	94-10-10 MSR NOMOUSE keyword.
	96-08-13 MSR (srio@esrf.fr) changes wmenu->wmenu2 and 
		xtext->Dialog_Message
	00-02-12 MSR (srio@esrf.fr) adds Dialog_Parent keyword

