look for peaks in a histogram of spectral data