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

 NAME:
	DERIVSET

 PURPOSE:
	This procedure calculates the three first derivatives of
	 a set of data

 CATEGORY:
	XAID xafs data analysis package. 

 CALLING SEQUENCE:

	DERIVSET, setin,der

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

 OPTIONAL INPUTS:
	
 KEYWORD PARAMETERS:
	PLOT when set, plots the set and the first derivatives
	on current graphics device

 OUTPUTS:
	a 4-columns set of data with tha abscissas (1st column), the 
	first (2nd column), second (3rd column) and fourth 
	derivatives (4th col)

 OPTIONAL OUTPUTS:

 COMMON BLOCKS:

 SIDE EFFECTS:
	None

 RESTRICTIONS:
	None

 PROCEDURE:
	uses DERIV IDL's procedure

 EXAMPLE:

		DERIVSET,setin,der,/plot

 MODIFICATION HISTORY:
 	Written by:	Manuel Sanchez del Rio. ESRF
	May, 1993	

