01Light from bent electrons
The SLS stores electrons circulating at 2.4 GeV. In a straight section of the ring they pass through an undulator: two rows of permanent magnets with alternating poles a few millimetres apart. The electrons wiggle, and the X-rays from each wiggle add up in phase into a narrow, intense cone along the beam. Closing the magnet gap tunes the photon energy of the harmonics.
02Choosing one wavelength
A double-crystal monochromator selects a single wavelength by Bragg reflection, λ = 2d sin θ, from two perfect crystals in parallel. The second crystal sends the beam on parallel to the first, offset upwards. For a silicon (111) pair, 1.0000 Å needs θ ≈ 9.2°. PXI also has a double multilayer monochromator, which passes a broader energy band for much more flux when that matters more than spectral purity.
03Focusing onto the crystal
A Kirkpatrick–Baez mirror pair focuses the beam: one curved mirror focuses vertically, the other horizontally, both at grazing angles of a few milliradians. Slits, attenuators and a fast shutter set the beam size and dose before a collimator brings it to the crystal.
04The rotation method
The crystal sits in a loop on a pin, in a 100 K nitrogen cryostream, on a goniometer spindle that is horizontal and perpendicular to the beam. It turns at constant speed while the detector records one frame per 0.1°. Your sweep is 2200 frames, 220° in total. Fine slicing like this is close to the crystal's mosaic spread (0.23°), so each reflection spreads over two or three frames and XDS can fit its profile in three dimensions.
Try it: play the frames at 0.1°, then switch the wedge to 1.0°. Past 20° the slider continues in 1° wedges to 180°, so you can watch the lunes move as the crystal turns. Summing ten frames is what a coarse oscillation would have recorded: more spots, but each one sitting on ten times the background.
05The EIGER 16M
The DECTRIS EIGER 16M is a hybrid photon-counting detector: a 450 µm silicon sensor bump-bonded to readout chips, with 4150 × 4371 pixels of 75 µm (311 × 328 mm). Each pixel counts single X-ray photons above a threshold, so there is no readout noise and no dark current to subtract. Readout is continuous, which is what makes shutterless fine slicing possible.
The dark lines are the gaps between its 32 modules and the chips within them. The dark bar from the left edge to the middle is the shadow of the beamstop and its arm, which catch the direct beam. Your frames are stored as HDF5, 100 frames per file, compressed with bitshuffle-LZ4.
06The Ewald sphere
Bragg's law has a geometric form. Draw a sphere of radius 1/λ with the crystal at its centre and the beam along a diameter; the origin of reciprocal space sits where the beam leaves the sphere. A reflection hkl diffracts exactly when its reciprocal-lattice point touches the sphere, and the diffracted ray runs from the centre of the sphere through that point to the detector.
Rotating the crystal rotates its reciprocal lattice through the sphere. Points that cross during one 0.1° frame are the spots on that frame, so each lune of spots on the detector is one lattice plane cutting the sphere. At 1.0 Å the sphere is large compared with the lattice (2.33 Å is 0.43 Å⁻¹), which is why it looks nearly flat in the inset.
Try it: click a spot on the detector. Its index appears in the console and its lattice point turns pink in the inset. Then press Spin 220° to sweep the whole lattice through the sphere as in your full dataset.
07Indexing your crystal
XDS found the cell from the positions of about 28,000 spots: rhombohedral, a = b = 119.6 Å, c = 167.2 Å in the hexagonal setting, space group H3 2. Rhombohedral centring allows only reflections with −h + k + l = 3n, so two thirds of the hexagonal lattice points are systematically absent. They are already left out of the inset. Every predicted spot in the console comes from XDS's own integration, re-indexed from its primitive cell to the hexagonal one.
08What this model simplifies
The beamline is schematic: upstream distances are compressed from tens of metres, component shapes are generic, and the crystal is drawn far larger than real. The endstation is roughly to scale: the detector size and the 225 mm sample distance are taken from the data. Frames are binned 4 × 4 (2 × 2 in the zoomed centre) and lossily compressed for the web, and wedge sums are made from those compressed frames. Lattice-point brightness in the inset is the mean I/σ from XDS.