Text this: Electron acceleration in an ondulator synchrotron