Igor pro macros for manipulating photoelectron spectroscopy data