match_sensors function

Match spectra at sensor transitions