The photoelectron spectrum of N2, and partial cross sections as a function of photon energy from 16 to 40 eV