Photoionization of furan from the ground and excited electronic states