Synchrotron radiation from an electron beam