UndulatorSpectra CI Master Develop Travis Analytic calculations of the spectra emitted by relativistic electron beams passing through magnetic undulators