int_spect  vers3.3
07-DEC-94 MJF
02-04-96  MJF
03-23-99  MJF

		Integrate a spectrum

example:

	int_spect

	note: The <<EOF construction does not need to be used
	      with this routine since there is no standard input.
	      int_spect followed by a carriage return can be used
	      when not using the routine in a script.

standard output:

	The following is written to the standard output:

	Integral of this spectra = ???  units

	where ??? is the value of the integral and the units
	are identified as photons or ergs per and as per sr or
	per cm^2 depending on the units of the spectra.tmp file.

associated files:

	read: spectra.tmp

	write: none

method:  
	This routine performs a simple numeric integration of a
	spectra stored in spectra.tmp by multiplying each value
	of the spectra by dE and summing, ie summation of p(E)dE.

