compare_spct function

Coarse-grained comparison of two spectra