An unknown spectrum obtained from infrared or other spectroscopy can be
compared to spectra in a reference library to find the best matches. The
best match spectra can then each in turn be combined with the reference
spectra, with the combinations also being screened for best matches
versus the unknown spectrum. These resulting best matches can then also
undergo the foregoing combination and comparison steps. The process can
repeat in this manner until an appropriate stopping point is reached, for
example, when a desired number of best matches are identified, when some
predetermined number of iterations has been performed, etc. This
methodology is able to return best-match spectra (and combinations of
spectra) with far fewer computational steps and greater speed than if all
possible combinations of reference spectra are considered.