Calibration procedures for photoelectron spectrometers