Comparison of a sample spectrum to a collection of reference spectra to find a spectrum with high similarity. Common method in Raman spectroscopy for the identification of unknown samples or the verification of known samples.