Data Collection Simulator
This sheet: https://xraytools.com/collect?reveal=1&seed=1
Page: https://xraytools.com/collect
Once the crystal is centred it is turned in the beam while an area detector records frame after frame. Each frame covers a small turn of one axis, and the spots on it are the reflections that passed through diffracting position during that turn. This page takes an unknown crystal through the whole experiment: judge a frame, find the unit cell, plan the runs, collect them, and judge the data set they give.
- You supply
- Nothing of your own. The exercise number chooses the crystal and how it sits on the head; you choose the instrument, the radiation, the settings of each frame and the runs of the plan, which travel in the address so a plan can be shared.
- Reading it
- A spot that is too faint is lost in the background, and one that is too bright overloads and loses its intensity, so the exposure is a compromise. A plan is judged by its completeness to 0.84 Å, its redundancy and its time; the data set by the mean I/σ(I) of each shell and by how well equivalent reflections agree, Rint. A turn about one axis cannot reach the reflections near that axis, which is why a plan has more than one run.
Worked examples: a plan of two runs – the data set to 0.84 Å · Cu Kα, the detector swung behind the crystal to reach 0.84 Å · a full turn of ω – refused with the detector at 40 mm
Earlier on the path: Crystal Centring Simulator Next on the path: Space Group from Absences On The single-crystal experiment, step 2 of 4
Terms here: lattice plane · reflection · Laue class
See also: Crystal Centring Simulator · The Ewald Construction
Collect and index
Exercise 1, frame ω 0° to 0.5°, 10 s.
- 2 spots visible above the background, of 14 reflections in diffracting position on the active area
- 0 overloaded
- Measured with I/σ(I) above 3 down to d = 0.89 Å; the detector reaches 0.80 Å
- One pass of an average reflection at d = 0.84 Å: I/σ(I) about 2.1 from counting statistics
The settings are reasonable: one pass of an average reflection at d = 0.84 Å would reach I/σ(I) 2.1, between 1.3 and 2.5, and no spot overloads.
Find the unit cell
Step 2 opens with the first run: set the number of frames under the frame and press Run.
No runs yet. Collect one with Run above.
Plan the data collection
Plan the data collection
Step 3 opens when a Bravais lattice has been checked in step 2.
The data set
Find the Laue class
The Laue class is the symmetry of the intensities: reflections it makes equivalent have the same intensity, apart from the noise. The table groups the measurements under each class the lattice allows. Under the crystal’s class, and under any lower one, equivalents agree within their uncertainties and χ2/ν is about 1; a class with an operation the crystal does not have groups reflections whose intensities differ, and χ2/ν and Rint grow. Choose the highest class whose equivalents still agree.
The reflections, as files
Both files are in SHELX’s HKLF 4 format, one reflection to a line: h, k and l in four columns each, then the intensity and its standard uncertainty in eight columns with two decimals; in the file of measurements a fourth number in four columns is the batch, the run the measurement was made in. A line 0 0 0 ends each file. The indices are in the conventional cell you found in step 2, the unique reflections are the data set merged under the Laue class you chose, to the target, each under the indices of the one equivalent the merging named it by, the uncertainties are the error model’s, and the intensities are multiplied by one factor so that the largest fits its column.
Name the sample. This page was never told its name: the link asks the server for it.
The data set
Steps 5 and 6 open when the data have been collected in step 4.
The sample
Exercise 1 is halite (rock salt), NaCl, in space group Fm3m, with a = 5.640 Å, b = 5.640 Å, c = 5.640 Å, α = 90°, β = 90°, γ = 90° and Z = 4. Its Laue class is m3̅m.
What comes after a data set, with this structure filled in: the reflection conditions of its space group, the space group from the absences you would see in it, its Wilson plot and the structure factor of any of its reflections.
The frame is the detector face as the crystal sees it, 100 mm square. Each spot is a reflection that passed through the Ewald sphere while the crystal turned through this frame; brighter and larger means more counts, and a red ring marks an overload. The dashed rings are lines of equal resolution, labelled with their d-spacing; the grey disc is the shadow of the beamstop, and the orange cross the direct-beam position. Point at a spot to read its counts, I/σ(I) on this frame from counting statistics alone, 2θ and d.
The settings do what they do on an instrument. A longer exposure collects more counts, until the strongest spots overload. A shorter detector distance reaches higher resolution and crowds the spots together; swinging the detector reaches higher angles on one side. The frame width is how far the crystal turns while the shutter is open: a reflection close to the rotation axis crosses the sphere slowly and spreads over several frames, so a frame can hold only part of it.
The crystal is unknown. The exercise number chooses it and how it sits on the goniometer head. Finding its lattice from its spots is step 2, and its name is given only when it is asked for, after the data set: the frames themselves never name it.
The picture of the experiment beside the frame is a schematic of the geometry in the laboratory, with ω drawn vertical as on the centring page: the beam leaving the collimator, the beamstop, the goniometer’s axes and the block under the crystal that turns with ω, the detector plate at its distance and swing inside its housing with this frame’s spots on it, and the crystal at the centre, drawn hundreds of times its size and turned with ω, κ and φ. Its shape is the one this mineral is found in, its faces lattice planes related by the crystal’s own symmetry, as on a real crystal, so it already hints at the axes and the symmetry that steps 2 and 5 find from the spots. Click a spot and the stack of lattice planes that reflects it appears inside the crystal, with its normal, the ray to the spot and the angle θ between the planes and both rays; the sheets are drawn millions of times further apart than their few Ångström. Step the frames and the planes turn with the crystal, through the reflecting position and out of it. Once the lattice is checked the picture adds the cell’s axes and the planes’ indices. A setting the instrument refuses is drawn as the collision it would be, the parts that would meet marked, and not as a frame.
This is a model, not an instrument. The crystal does not absorb, nothing in it is extinct or scatters anomalously, the detector has no pixels and the beamstop has no holder. The counts follow from the structure factors, the Lorentz and polarisation factors, one displacement parameter and the share of each reflection on the frame, with counting noise that is the same every time the same frame is collected, and each pass of a reflection carries a residual error of a few per cent, which is what scaling and absorption corrections leave in real data. Each exercise’s crystal is sized so that its outermost reflections are about equally strong, give or take a factor of 1.6. A spot’s position on the detector is exact; only its rotation angle is uncertain, by up to half a frame.
How to measure the crystal
- Judge a frame. Start with a frame of 0.5°. Read the status beside the picture: the detector has to reach 0.84 Å, only a few of the strongest spots may overload, and the status estimates the I/σ(I) one pass of an average reflection at that resolution would have. Lengthen the exposure if it is too low for a data set, shorten it if it is more than the data need or many spots overload, and move the detector closer to reach higher resolution, as long as the spots stay apart. Click a spot to see, in the picture of the experiment, the lattice planes that reflect it and how the crystal lies in the beam. Press Next frame, or hold it, to step through the scan: a spot close to the rotation axis stays on many frames, because its reciprocal-lattice point crosses the Ewald sphere slowly. Left out here: real spot shapes and detector pixels. A spot here is a round mark at an exact position, and only its rotation angle is uncertain.
- Find the unit cell. Set the number of frames (about a dozen) and press Run. The spots the run finds are mapped back into reciprocal space in the picture under the frame; turn it, and one run fills a thin curved wedge. Change the scan start by about 90° and run again, then once more between the two, and press Find the unit cell. It works only from the spots you collected, and it says when they are not enough. Then choose the Bravais lattice from the reduced cell’s equal edges and special angles, and check it. Left out here: a crystal that slips on its mount, so the cell found in the first minutes holds for the whole experiment.
- Plan the data collection. The page starts a plan of one run and forecasts it under every Laue class the lattice allows: which reflections are equivalent is not known until they are measured, so the headline assumes the lowest, which needs the most data. Add runs about other axes and at other angles until the forecast is complete to 0.84 Å with every unique reflection measured more than once, and keep the time inside the budget. The picture shows where the missing reflections are: a hole about the rotation axis that no turn of that axis reaches, and an outer shell the detector cannot see unless it is swung or brought closer. Left out here: every collision but two: the detector housing against the collimator and the X-ray source behind it, which sets how far the detector swings at each distance; and the goniometer’s block under the crystal against the housing, which closes a range of ω when the detector is close. The travel of ω, the detector arm’s from −115° to 157° and the distances from 40 to 140 mm are modelled on what makers publish for four-circle instruments with a detector arm; the shapes of the parts are a schematic. The κ arm is not modelled, so no κ setting is refused.
- Collect. Press Collect the data. The frames play, the counters run and the picture fills as reflections are recorded; Skip to the end does the rest at once and Stop ends the collection where it is. A reflection is the sum of its parts on the frames that hold it; one cut by the start or end of a run, or overloaded on any frame, is rejected. Left out here: absorption by the crystal, radiation damage and the decay of the beam, so every frame is as strong as the first.
- Find the Laue class. The measurements are grouped under each Laue class the lattice allows. Read how well the equivalents agree on their uncertainties: the crystal’s class is the highest whose equivalents still agree. Choose it and check it, and type a reflection’s indices to see its equivalents and their intensities side by side. Left out here: twinning and pseudo-symmetry, which can make a crystal look more symmetric than it is, and anomalous scattering, so Friedel’s law holds and no class without a centre of inversion has to be considered.
- Judge the data set. It is merged under the class you chose. Read the shells: completeness, redundancy and the mean I/σ(I) should hold up to the outermost one, and Rint says how well equivalent reflections agree. Press Score the data set for a mark built from those numbers, the time and the Laue class, then name the sample and follow it to the pages that use such data. Left out here: scaling and absorption corrections, which a real data set needs before it is merged; here each measurement keeps a residual error of a few per cent that such corrections would leave, as well as its counting noise, and its uncertainty includes both, as a scaling program’s error model does.