Schematic view of the beamline with the distances used in the simulations. The source is the undulator u18 set to K = 1.851 (7 keV at first harmonic). CS is the coherence slit that controls the coherent fraction. DCM is the double-crystal monochromator (not used in the calculations). T1 and T2 are the two transfocators, idealized in single parabolic lenses. The observation plane (sample) is 200 m from the source.