sample spectra clustering