Photoionization of atoms using synchrotron radiation