X-ray free-electron laser (FEL) facilities provide pulses of soft and hard X-rays that are bright and short but suffer from unstable emission spectra. Nina Rohringer and colleagues from the USA and ...