Smoothing of digital x-ray photoelectron spectra by an extended sliding least-squares approach | Synapse