Convolutional smoothing algorithms in electron spectroscopy