X-ray free-electron lasers, with pulse durations ranging from a few to several hundred femtoseconds, are uniquely suited for studying atomic, molecular, chemical and biological systems. Characterizing ...