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

 NAME:
	POSTEDGE

 PURPOSE:
	This procedure calculates the post edge fit of a xafs spectrum

 CATEGORY:
	XAID xafs data analysis package. 

 CALLING SEQUENCE:

	POSTEDGE,setin,setfit

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

 OPTIONAL INPUTS:
	
 KEYWORD PARAMETERS:
       UNIT: File unit where to write the log stuff.
       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:
	setfit: fltarr(2,npints) set with the fit

 OPTIONAL OUTPUTS:

 COMMON BLOCKS:

 SIDE EFFECTS:
	None

 RESTRICTIONS:
	None

 PROCEDURE:
	Straightforward. Interaction with the user, and, mainly
	a driver for POLSPL

 EXAMPLE:

		POSTEDGE, set1, fit1

 MODIFICATION HISTORY:
 	Written by:	Manuel Sanchez del Rio. ESRF
	February, 1993	
       96-08-13 MSR (srio@esrf.fr) changes wmenu->wmenu2 and
               xtext->widget_message
	98-10-01 srio@esrf.fr adapts for delia.
	00-02-12 MSR (srio@esrf.fr) adds Dialog_Parent keyword

