


Convert a wavelength to an index into the wave list.
[idx1,idx2] = ieWave2Index(waveList,wave)
If only one return argument is requested, then the index closest to the
specified wavelength. If two indices are requested, these are the indices
whose wavelength values bound the input wave value. These are always
ordered (idx1 < idx2).
Example
waveList = sceneGet(scene,'wave');
idx = ieWave2Index(waveList,503)
[idx1,idx2] = ieWave2Index(waveList,487)
See also: ieFieldHeight2Index()
Copyright ImagEval Consultants, LLC, 2005.