_____________________________________________________________________
LI
LINEINDEX
To calculate line indeces on spectral data.
Line index is ratio of sum of data in specified band, to linearly
interpolated contin level calculated in 2 adjacent bands.
Definitions :
W = (AREA/CONTINUUM) mult by dispersion if appropriate
CONTIN= A * SUM1/NCHAN1 + B * SUM2/NCHAN2
A = ( X2 - XB )/( X2 - X1 )
B = ( XB - X1 )/( X2 - X1 )
X1 = mean channel of contin band 1
X2 = " " " " 2
XB = " " band of interest
AREA = SUMBAND - CONTIN*NBAND
Where band refers to band of interest.
Only one sideband need be specified.
Bands may be specified in channels, or in bin-type
(converted tonearest integer channels).
AJP 25-JUL-81
______________________________________________________________________