How to use
A guide to The Game of Diffraction, its panels, circles and controls.
The workspace
- Control panel (left). Beamline parameters, sample structure and orientation, and the motor positions.
- Instrument view (centre). The diffractometer in three dimensions, seen from upstream looking downstream along the beam. The cyan rays are the diffracted beams that reach the panel, so each one ends on its own Bragg spot.
- Detector view (right). The same detector face, seen from the sample position.
Seeing a reflection
- Rock the crystal. Drag omega. Reflections light up and fade as lattice planes pass through the Bragg condition.
- Drive to a named reflection. Enter Miller indices, say
2 1 1, under Drive to a reflection and press Find omega. You get every omega that satisfies the Bragg condition with the other three circles held, which is what rocking one motor does at a beamline. Choose a solution, press Drive there, then Aim detector to swing the arm onto the diffracted beam. - Blind cones. If no omega reaches a reflection, a limitation of rotating about a single axis rather than a bug, the page says so and offers a chi that brings it within range.
- Why there is a pattern at the start. The crystal opens axis-aligned, which is a zone axis, and the beam opens at 19.010 keV, where the wavelength is exactly a/9 for the CsPbBr3 cell it starts on. Twelve reflections then sit exactly on the Ewald sphere. Detune the energy and they go out.
Goniometer and detector circles
The simulator follows the six-circle convention of H. You (1999).
| Circle | Moves | Rotation |
|---|---|---|
| mu, omega, chi, phi | Sample | Nested goniometer rotations that orient the lattice in space |
| delta | Detector | Swings the arm through the vertical arc |
| gamma | Detector | Swings the arm through the horizontal arc |
Beam and detector
- Set the energy or wavelength.
- Distance and detector model set how much of reciprocal space you collect. A shorter distance or a larger panel buys angular range at the cost of spatial resolution.
- Preview bin trades detector pixels for frame rate. Raise it while dragging a motor; set it to 1 for a full-resolution frame once the setting is worth keeping.
Sample and mosaicity
- Structure. Here you can select a crystallographic structure. Structure factors are available for the crystal lattices offered.
- Load CIF. You can also read your own CIF straight in the browser: the file never leaves your machine. The reader applies the symmetry operators the file lists, so a normal database CIF giving only the asymmetric unit is expanded to the full cell before any intensity is computed. A file it cannot use safely is refused with the reason, rather than quietly giving you the wrong intensities.
- Peak width is the size of a Bragg peak in reciprocal space. Widening it keeps reflections lit further from the exact condition, which is what mosaic spread does to a real crystal.
Orientation and geometry of the crystal
- Manual alignment. The rx, ry and rz sliders tilt the crystal on its mount.
- Automated alignment. Point a crystal direction puts a chosen direction along a laboratory axis: send (1 1 1) along the beam, then bring a second direction toward the vertical to remove the rotation that is still free about the first.
- Transmission and reflection. In reflection geometry the sample carries a surface normal: reflections pointing into the bulk are blocked and the angle of incidence is reported. Tick Rays that miss to see which reflections never reach the panel, and why.