Mostrando entradas con la etiqueta Ider Guerrero. Mostrar todas las entradas
Mostrando entradas con la etiqueta Ider Guerrero. Mostrar todas las entradas

lunes, 15 de febrero de 2010

Diffraction theory



Summary notes, equations and figures

Introduction: a constrast of two interactions of radiation with matter
Spectroscopy (absorption): measure the variation of intensity with n or l in one direction, to obtain a spectrum.
Crystallography (diffraction): measure the variation of intensity with direction for one l, to obtain a diffraction pattern.

Fundamental properties of a wave, important in diffraction
Wavelength  l  (distance between two adjacent crests or troughs of the wave)
Amplitude  |F|  (size of wave, half the difference between crest and trough); intensity I µ |F|2
Phase  f  (position of a crest or maximum relative to other waves, measured as a fraction of the wavelength or as an angle in the range 0 to 360°)

Analogy between a microscope and X-ray crystallography
X-ray crystallography works essentially like an X-ray microscope, but in two stages:
1. scattering of X-rays by a small crystalline sample (lots of identical molecules regularly arranged and scattering cooperatively); record the diffraction pattern;
2. recombination of scattered waves mathematically by computer, to give a representation of the time-averaged electron density distribution in the sample (effectively, the positions of atoms); this can not be carried out physically as in an optical microscope.

Fundamentals of the crystalline state

Translation symmetry is essential; other symmetry (rotation, reflection, inversion) may also be present.  Translation symmetry is characterised by a lattice, and its basic repeat unit is the unit cell; geometry is specified by 3 lengths and 3 angles, some of which take special values/relationships if rotation/reflection symmetry is present.
Space group: the collection of all symmetry operations for a crystal structure.  Symbol is a combination of letters and numbers, indicating the symmetry present.  There are 230 space groups.
Asymmetric unit: the unique part of the structure (a fraction of a unit cell).  Operation of symmetry except for pure translation generates the unit cell, then operation of translation symmetry generates the complete crystal structure.
Crystal systems
For the essential symmetry, each type of rotation axis is generic; it could be a proper or improper rotation or a screw axis, and mirrors can also be glide planes.  The unit cell types shown in parentheses can be converted into standard types not in parentheses by a different choice of axes, but are used in some cases in order to satisfy other conventions or conveniences regarding symmetry and geometry.
Crystal system
Essential symmetry
Unit cell restrictions
Unit cell types
triclinic
none
none

P

monoclinic
2 and/or m for one axis
a=g=90°
P, C (I)
orthorhombic
2 and/or m for three axes
a=b=g=90°
P, C (A), I, F
tetragonal
4 for one axis
a=b; a=b=g=90°
P, I
trigonal
3 for one axis
a=b; a=b=90°, g=120°
P (R)
hexagonal
6 for one axis
a=b; a=b=90°, g=120°

P

cubic
3 for four directions
a=b=c; a=b=g=90°
P, I, F

Any line, and any plane (or set of regularly spaced parallel planes) in a 3D lattice (crystal structure) can be specified by 3 numbers; for lines joining lattice points, and sets of planes passing through lattice points, these numbers are integers.  For planes, they are called Miller indices, represented by the letters h,k,l.

Crystals and their diffraction patterns
X-rays are used because their wavelengths are comparable to the sizes of atoms and molecules, giving rise to diffraction effects by crystals.
Geometry of diffraction pattern (positions of spots on film/detector, directions of diffracted beams) is related to unit cell (lattice) geometry.
Symmetry of diffraction pattern is related to symmetry of crystal structure (space group).
Intensities of diffraction pattern are related to the nature and positions of atoms within the asymmetric unit.

Diffraction by crystals (geometry): reciprocal lattice, Bragg equation, and Ewald sphere

Direct lattice (crystal structure lattice) is defined by three vectors: a, b, c.  Define a reciprocal lattice (a*, b*, c*), such that
a* = (b ´ c) / V     b* = (c ´ a) / V     c* = (a ´ b) / V
V = a × (b ´ c) = b × (c ´ a) = c × (a ´ b)
Hence:   a × a* = b × b* = c × c* = 1
and  a × b* = a × c* = b × a* = b × c* = c × a* = c × b* = 0
This means that a* is perpendicular to both b and c, etc.  If every set of parallel lattice planes is represented by a point such that its distance from the origin is 1/d (the reciprocal of the spacing between planes) and the direction is perpendicular to the planes, then all the possible points lie at reciprocal lattice points, and the coordinates of each point (counting from the origin in three dimensions) are the Miller indices of the plane: (ha* + kb* + lc* = d*hkl, a vector with length 1/dhkl).  As a consequence of the Bragg equation (below), the reciprocal lattice is a convenient representation for the geometry of the diffraction pattern, and every diffracted beam (X-ray reflection) is labelled by the three indices h,k,l, specifying the associated lattice planes.

path difference = a sinyi + a sinyd = hl

where yi and yd are the angles of the incident and diffracted beams as shown, l is the wavelength, a is the one-dimensional lattice spacing, and h is an integer (positive, zero, or negative).  For a given value of yi (a fixed incident beam), each value of h corresponds to an observed diffraction maximum and the equation can be used to calculate the permitted values of yd, the directions in which intensity is observed.  The result is a set of bright fringes. 
Using vector notation: if s and s0 are unit vectors along the directions of the diffracted and incident beams, and a is the lattice translation vector, then
a · (s - s0) = hl
There are three such equations, one for each dimension, and all must be satisfied simultaneously (Laue equations); this requires three integers h, k, l and reference to all three lattice vectors a, b, c.
Alternative representation for three dimensions (right): for rays reflected by two adjacent planes
path difference = 2dhkl sinq = (n) l
Using vector notation: if d*hkl is the reciprocal lattice vector for the reflecting planes, then this vector is parallel to s - s0 and
(s - s0)/l = d*hkl = ha* + kb* + lc*
The Ewald sphere construction is a way of showing geometrically how rotation of a crystal (and its reciprocal lattice with it) leads to the Bragg equation being satisfied in certain orientations, generating observed diffracted beams.  A sphere of radius 1/l is centred on the crystal, with the incident beam in a fixed direction.  The origin of the reciprocal lattice is placed on the sphere opposite the incident beam, and the crystal rotates.  Whenever a reciprocal lattice point touches the surface of the sphere, the Bragg equation is satisfied for this set of lattice planes, and a Bragg reflection occurs; the direction of the diffracted beam is from the centre of the sphere to the reciprocal lattice point.  This allows us to predict both where and when diffraction will occur, if the lattice parameters and crystal orientation are known.

Diffraction by crystals (symmetry)
To a first approximation, all diffraction patterns have inversion symmetry (Friedel's Law); the point group symmetry of the pattern is related to the space group of the crystal and is called the Laue group.  There are 11 possible Laue groups.  Other aspects of the space group symmetry are revealed in 'systematic absences', special subsets of the data that systematically have zero intensity.
For a non-centrosymmetric crystal structure, if the X-ray wavelength is close to an absorption edge of an element in the compound, Friedel's Law breaks down, and I(h,k,l) ¹ I(-h,-k,-l).  The (usually small) intensity differences can be measured and used to determine absolute configuration for chiral structures.


Ider Guerrero



Reciprocal lattice


In crystallography, the reciprocal lattice of a Bravais lattice is the set of all vectors K such that
e^{i\mathbf{K}\cdot\mathbf{R}}=1
for all lattice point position vectors R. This reciprocal lattice is itself a Bravais lattice, and the reciprocal of the reciprocal lattice is the original lattice.
For an infinite three dimensional lattice, defined by its primitive vectors  (\mathbf{a_{1}}, \mathbf{a_{2}}, \mathbf{a_{3}}) , its reciprocal lattice can be determined by generating its three reciprocal primitive vectors, through the formulae
\mathbf{b_{1}}=2 \pi \frac{\mathbf{a_{2}} \times \mathbf{a_{3}}}{\mathbf{a_{1}} \cdot (\mathbf{a_{2}} \times \mathbf{a_{3}})}
\mathbf{b_{2}}=2 \pi \frac{\mathbf{a_{3}} \times \mathbf{a_{1}}}{\mathbf{a_{2}} \cdot (\mathbf{a_{3}} \times \mathbf{a_{1}})}
\mathbf{b_{3}}=2 \pi \frac{\mathbf{a_{1}} \times \mathbf{a_{2}}}{\mathbf{a_{3}} \cdot (\mathbf{a_{1}} \times \mathbf{a_{2}})}.
Using column vector representation of (reciprocal) primitive vectors, the formulae above can be rewritten using matrix inversion:
\left[\mathbf{b_{1}}\mathbf{b_{2}}\mathbf{b_{3}}\right]^T =  2\pi\left[\mathbf{a_{1}}\mathbf{a_{2}}\mathbf{a_{3}}\right]^{-1}.
This method appeals to the definition, and allows generalization to arbitrary dimensions. Curiously, the cross product formula dominates introductory materials on crystallography.
The above definition is called the "physics" definition, as the factor of comes naturally from the study of periodic structures. An equivalent definition, the "crystallographer's" definition, comes from defining the reciprocal lattice to be e^{2 \pi i\mathbf{K}\cdot\mathbf{R}}=1 which changes the definitions of the reciprocal lattice vectors to be
\mathbf{b_{1}}=\frac{\mathbf{a_{2}} \times \mathbf{a_{3}}}{\mathbf{a_{1}} \cdot (\mathbf{a_{2}} \times \mathbf{a_{3}})} and so on for the other vectors. The crystallographer's definition has the advantage that the definition of \mathbf{b_{1}} is just the reciprocal magnitude of \mathbf{a_{1}} in the direction of \mathbf{a_{2}} \times \mathbf{a_{3}}, dropping the factor of . This can simplify certain mathematical manipulations, and expresses reciprocal lattice dimensions in units of spatial frequency. It is a matter of taste which definition of the lattice is used, as long as the two are not mixed.
Each point (hkl) in the reciprocal lattice corresponds to a set of lattice planes (hkl) in the real space lattice. The direction of the reciprocal lattice vector corresponds to the normal to the real space planes, and the magnitude of the reciprocal lattice vector is equal to the reciprocal of the interplanar spacing of the real space planes.
The reciprocal lattice plays a fundamental role in most analytic studies of periodic structures, particularly in the theory of diffraction. For Bragg reflections in neutron and X-ray diffraction, the momentum difference between incoming and diffracted X-rays of a crystal is a reciprocal lattice vector. The diffraction pattern of a crystal can be used to determine the reciprocal vectors of the lattice. Using this process, one can infer the atomic arrangement of a crystal.
The Brillouin zone is a primitive unit cell of the reciprocal lattice.

Reciprocal lattices of various crystals

Reciprocal lattices for the cubic crystal system are as follows.

Simple cubic lattice

The simple cubic Bravais lattice, with cubic primitive cell of side a, has for its reciprocal a simple cubic lattice with a cubic primitive cell of side  \begin{matrix}\frac{2\pi}{a}\end{matrix} ( \begin{matrix}\frac{1}{a}\end{matrix} in the crystallographer's definition). The cubic lattice is therefore said to be self-dual, having the same symmetry in reciprocal space as in real space.

Face-centered cubic (FCC) lattice

The reciprocal lattice to an FCC lattice is the body-centered cubic (BCC) lattice.

Finding the reciprocal lattice of a face-centered cubic lattice

Consider an FCC compound unit cell. Locate a primitive unit cell of the FCC, i.e., a unit cell with one lattice point. Now take one of the vertices of the primitive unit cell as the origin. Give the basis vectors of the real lattice. Then from the known formulae you can calculate the basis vectors of the reciprocal lattice. These reciprocal lattice vectors of the FCC represent the basis vectors of a BCC real lattice. Note that the basis vectors of a real BCC lattice and the reciprocal lattice of an FCC resemble each other in direction but not in magnitude.

Body-centered cubic (BCC) lattice

The reciprocal lattice to a BCC lattice is the FCC lattice.
It can be easily proven that only the Bravais lattices which have 90 degrees between  (\mathbf{a_{1}}, \mathbf{a_{2}}, \mathbf{a_{3}}) (cubic, tetragonal, orthorhombic) have  (\mathbf{b_{1}}, \mathbf{b_{2}}, \mathbf{b_{3}}) parallel to their real-space vectors.

Simple hexagonal lattice

The reciprocal to a simple hexagonal Bravais lattice with lattice constants c and a is another simple hexagonal lattice with lattice constants  \begin{matrix}\frac{2\pi}{c}\end{matrix} and  \begin{matrix}\frac{4\pi}{a\sqrt{3}}\end{matrix} rotated through 30° about the c axis with respect to the direct lattice.

Arbitrary collection of atoms

One path to the reciprocal lattice of an arbitrary collection of atoms comes from the idea of scattered waves in the Fraunhofer (long-distance or lens back-focal-plane) limit as a Huygens-style sum of amplitudes from all points of scattering (in this case from each individual atom)[1]. This sum is denoted by the complex amplitude F in the equation below, because it is also the Fourier transform (as a function of spatial frequency or reciprocal distance) of an effective scattering potential in direct space:
F[\vec{g}]=\sum_{j=1}^{N}f_j[\vec{g}]e^{2\pi i \vec{g} \cdot \vec{r}_{j}}.
Here g = q/(2π) is the scattering vector q in crystallogapher units, N is the number of atoms, fj[g] is the atomic scattering factor for atom j and scattering vector g, while rj is the vector position of atom j. Note that the Fourier phase depends on one's choice of coordinate origin.
For the special case of an infinite periodic crystal, the scattered amplitude F = M Fhkl from M unit cells (as in the cases above) turns out to be non-zero only for integer values of (hkl), where
F_{hkl}=\sum_{j=1}^{m}f_j[g_{hkl}]e^{2\pi i (h u_j + k v_j + l w_j)}
when there are j=1,m atoms inside the unit cell whose fractional lattice indices are respectively {uj,vj,wj}. To consider effects due to finite crystal size, of course, a shape convolution for each point or the equation above for a finite lattice must be used instead.
Whether the array of atoms is finite or infinite, one can also imagine an "intensity reciprocal lattice" I[g], which relates to the amplitude lattice F via the usual relation I = F*F where F* is the complex conjugate of F. Since Fourier transformation is reversible, of course, this act of conversion to intensity tosses out "all except 2nd moment" (i.e. the phase) information. For the case of an arbitrary collection of atoms, the intensity reciprocal lattice is therefore:
I[\vec{g}]=\sum_{j=1}^{N}\sum_{k=1}^{N}f_j[\vec{g}]f_k[\vec{g}]e^{2\pi i \vec{g} \cdot \vec{r}_{jk}}.
Here rjk is the vector separation between atom j and atom k. One can also use this to predict the effect of nano-crystallite shape, and subtle changes in beam orientation, on detected diffraction peaks even if in some directions the cluster is only one atom thick. On the down side, scattering calculations using the reciprocal lattice basically consider an incident plane wave. Thus after a first look at reciprocal lattice (kinematic scattering) effects, beam broadening and multiple scattering (i.e. dynamical) effects may be important to consider as well.

Mathematics of the dual lattice

There are actually two versions in mathematics of the abstract dual lattice concept, for a given lattice L in a real vector space V, of finite dimension.
The first, which generalises directly the reciprocal lattice construction, uses Fourier analysis. It may be stated simply in terms of Pontryagin duality. The dual group V^ to V is again a real vector space, and its closed subgroup L^ dual to L turns out to be a lattice in V^. Therefore L^ is the natural candidate for dual lattice, in a different vector space (of the same dimension).
The other aspect is seen in the presence of a quadratic form Q on V; if it is non-degenerate it allows an identification of the dual space V* of V with V. The relation of V* to V is not intrinsic; it depends on a choice of Haar measure (volume element) on V. But given an identification of the two, which is in any case well-defined up to a scalar, the presence of Q allows one to speak to the dual lattice to L while staying within V.
In mathematics, the dual lattice of a given lattice L in an abelian locally compact topological group G is the subgroup L of the dual group of G consisting of all continuous characters that are equal to one at each point of L. In discrete mathematics, a lattice is a locally discrete set of points described by all integral linear combinations of dim = n linearly independent vectors in Rn. The dual lattice is then defined by all points in the linear span of the original lattice (typically all of R^n) with the property that an integer results from the inner product with all elements of the original lattice. It follows that the dual of the dual lattice is the original lattice. Furthermore, if we allow the matrix B to have columns as the linearly independent vectors that describe the lattice, then the matrix
A = B(BTB) − 1 has columns of vectors that describe the dual lattice.

Reciprocal space

Reciprocal space (also called "k-space") is the space in which the Fourier transform of a spatial function is represented (similarly the frequency domain is the space in which the Fourier transform of a time dependent function is represented). A Fourier transform takes us from "real space" to reciprocal space.
F(\vec{k})=\int_{-\infty}^{\infty}f(\vec{r})e^{ -i \vec{k} \cdot \vec{r}}d^3 r.
A reciprocal lattice is a periodic set of points in this space, and contains the \vec{k} points that compose the Fourier transform of a periodic spatial lattice. The Brillouin zone is a volume within this space that contain all the unique k-vectors that represent the periodicity of classical or quantum waves allowed in a periodic structure.


Ider Guerrero
http://en.wikipedia.org/wiki/Reciprocal_lattice


When do we see diffraction from a crystal?

As we have mentioned before, a crystal amplifies the diffraction pattern in certain directions, where the various unit cells diffract in phase, and eliminates it in other directions. In order for the unit cells to diffract in phase, the Bragg planes must pass through the same points in all the unit cells in the crystal. The easiest case to imagine is when the planes are separated by one unit cell edge, or an integral fraction of a unit cell edge. In the following picture, you can see that sets of planes separated by one unit cell edge or one-third unit cell edge will pass through equivalent atoms in the different unit cells. On the other hand, if the planes divide the unit cell edge by a non-integral number, the different unit cells will all diffract out of phase and the waves will cancel out.





Note on defining the unit cell: The unit cell is outlined by three cell axes, a, b, and c along the x, y and z directions respectively. The use of bold font indicates that the cell axes are vectors, with length and direction.
The unit cell is often described by the length of the axes and the angles between them:
a = |a|
b = |b|
c = |c|
α = angle between b and c
β = angle between a and c
γ = angle between a and b

Bragg planes perpendicular to a axis
The black lines in the figure outline the unit cells, the red lines indicate planes separated by one unit cell edge along the a cell axis, and the blue lines indicate planes separated by one-third unit cell edge along a.
Note on indexing diffraction patterns with Miller indices: the red planes are called the (1 0 0) planes because they divide the a cell edge once, and the blue planes are called the (3 0 0) planes because they divide the a cell edge three times. This again relates to the idea of reciprocal space: the planes (and corresponding diffraction spots) with larger indices correspond to closer spacings; the (3 0 0) planes are one-third as far apart as the (1 0 0) planes. The three indices are called h, k and l, so that in the figure above we are looking at two sets of (h 0 0) planes.
In general, to see diffraction from a crystal, the Bragg planes have to cut all the cell edges an integral number of times. (In, say, the (3 0 0) planes, the b and c cell edges are cut zero times.) It's easier to illustrate this in only two dimensions by looking at (h k 0) planes. Three sets of these are shown in the figure below.
hk0 planes
This is a bit more complicated! First look at the blue planes. As we follow the blue arrow from one plane to the next, the next plane is one unit cell further along in both the a and b directions, so these are the (1 1 0) planes. The magenta planes are similar, but as we follow the magenta arrow from one plane to the next, the next plane is one cell edge further in the a direction, but one cell edge back in the b direction, so these are the (1 -1 0) planes. With the green planes, as we follow the green arrow from one plane to the next we move half a unit cell edge along a and a full cell edge along b, so these are the (2 1 0) planes. (Another way to look at this is that we have to cross two planes to move one cell edge along a but only one plane to move one cell edge along b.)

Reciprocal space

We have mentioned different ways in which the concept of reciprocal space arises: higher angle scattering corresponds to closer spacings; increasing the indices of the planes corresponds to finer sampling along the cell edges. However, mathematically, reciprocal space is the space defined by the diffraction vectors, s. These diffraction vectors, as illustrated in the last lecture, are perpendicular to their corresponding Bragg planes and their length is inversely proportional to the d-spacing between those planes.
The space of diffraction vectors, s, is also the inverse space created by application of the Fourier transform to the electron density defined over real space, r.

The reciprocal lattice

We've just seen one way to think about reciprocal space: the Miller indices (h k l) that define Bragg planes allowing diffraction (constructive interference) from a crystal. In the last lecture, we looked at the diffraction vector s, a vector perpendicular to the Bragg plane with a length equal to the reciprocal of the interplanar spacing. It is useful to consider the relationship between these ways of defining planes and reciprocal space. It turns out that the Miller indices provide a useful way to define reciprocal lattice points within the reciprocal space defined by s. We will see that the reciprocal lattice is defined by a reciprocal unit cell, in the same way that the crystal lattice is defined by the crystal (real space) unit cell.
We will define the reciprocal unit cell by the three diffraction vectors corresponding to planes separated by the three real-space unit cell axes. Let's think first about the a axis. The (1 0 0) planes are separated by integral multiples of a. You might think that the corresponding diffraction vector s should be parallel to a, but that is not necessarily true. The Bragg planes are defined by the b and c axes, so the diffraction vector must be perpendicular to the bc plane. As you can see in the figure below, for a non-orthogonal unit cell a is not necessarily perpendicular to the bc plane. We define the first reciprocal cell axis, called a*, as the diffraction vector for the (1 0 0) planes. Its length is the reciprocal of the distance between one bc plane and the next, and it is perpendicular to the bc plane. The figure below shows a section through a monoclinic unit cell, where only the angle β is non-orthogonal. (When we study symmetry, we will learn about different crystal classes and how different symmetries impose different restrictions on the unit cells.)
monoclinic Bragg planes
The (3 0 0) planes are separated by one-third of the spacing between bc planes, so the diffraction vector is three times as long and is therefore equivalent to 3a*. In general, the diffraction vector for any (h 0 0) set of planes is given by ha*. The other two reciprocal axes are defined analogously. So any point in the reciprocal lattice can be defined as the sum of integral multiples of the reciprocal axes:
s = ha* + kb* + lc*




The reciprocal unit cell
Reciprocal axes are defined as having a direction perpendicular to the other two real space axes and a length equal to the reciprocal of the spacing between the planes defined by the other two real space axes.
a* = b×c/[(b×c)]
Explanation:
b×c = vector perpendicular to b and c, with length equal to area of the quadrilateral they define, i.e.
|b×c| = b c sinα
(b×c) = component of a in the direction of b×c, times |b×c|.
The interplanar spacing for the (1 0 0) set of planes is thus (b×c) / |b×c|, and we see that the definition for a* has the right length and direction.
The triple product (b×c) is also equal to the volume V of the unit cell, so we can write:
a* = b×c / V
b* = c×a / V
c* = a×b / V
Note that a·a* = {b×c / [(b×c)]} = 1. Similarly, b·b* = c·c* = 1.
On the other hand, a·b* = 0 because b* has been defined to be perpendicular to a. Similarly, b·a* = b·c* = c·b* = a·c* = c·a* = 0
When we describe points in the reciprocal lattice with Miller indices (h k l), it turns out to be useful (for reasons that will become immediately obvious) to describe positions in real space with fractional coordinates, (x y z). The fractional coordinates are defined as fractions of the unit cell axes, so that we express a position r as:
r = xa + yb + zc
This is illustrated in the following picture, together with the direction of a*:

The reason this is useful is because the Miller indices implicitly incorporate the cell dimensions in such a way that we can now replace the dot product s·r with h·x.
s dot r = h dot x
The simplifications occur because of the relationships between the real and reciprocal axes discussed above, where the dot products simplify to 1 for pairs such as a and a* and to 0 for pairs such as a and b*.
This now allows us to express the structure factor equation in terms of Miller indices and fractional coordinates.
F in terms of h and x
Note that the integral is now being taken only over a single unit cell. That is because taking it over a larger number of unit cells would simply multiply the structure factor by the number of unit cells. By convention, the structure factor is defined as the Fourier transform of a single unit cell.

Structure factors in terms of atoms: the atomic scattering factor

We now have the structure factor equation expressed in terms of Miller indices, which relate to the individual spots we observe in a diffraction pattern. However, when we build a model we will be working with atoms, not directly with their electron density distributions. So the next useful step is to express the structure factor equation in terms of the types and positions of individual atoms.
Remember that the structure factor equation was derived first as the sum of contributions from individual electrons, so we can break it up into the sum of contributions from the electrons comprising individual atoms. (Another way to say this is that the Fourier transform of a sum is the sum of the individual Fourier transforms.)
Next, remember that the contribution of an electron at the origin to the structure factor was 1e, with a phase of zero, for all diffraction vectors. Moving the atom to a different point in the unit cell just changed the phase of its contribution in a way that depended on both its position (r) and the diffraction vector (s): the new phase was given by 2πs·r. In the same way, we might expect that we could calculate the contribution to the structure factor of an atom at the origin and then change its phase according to its position in the unit cell. However, we can also derive such a result quite simply from scratch, as shown below.
F and atomic scattering factors
Since the diffraction pattern of an atom centered on the origin depends only on the type of atom, we can tabulate it before hand. To a very good approximation, we can consider the electron density of an atom centered on the origin to be spherically symmetric. This has two consequences:


  1. the phase of its overall scattering will be zero, because for any electron density at +r there will be equal electron density at -r, which will cancel out any imaginary contribution.
  2. its diffraction will depend only on resolution (|s|) and not on the direction of the diffraction vector.
At very low scattering angles (corresponding to d-spacings much wider than the dimensions of the atom), the electrons of the atom will scatter in phase and its total scattering contribution will be approximately equal to the number of electrons it contains. At higher scattering angles, different parts of its density distribution will start to scatter partly out of phase, so that the total scattering contribution will fall off with increasing resolution.

The Ewald sphere

Ewald came up with a geometrical construction to help visualise which Bragg planes are in the correct orientation to diffract. First look at the figure on the left below. We represent the incoming and diffracted rays as vectors, and it turns out to be convenient to give them a length of 1/λ. The incoming ray (labelled 1) and the diffracted ray (labelled 2) are both at an angle θ from a set of Bragg planes in the crystal. Let's consider the difference (shown in red) between the direct beam passing undeflected through the crystal (labelled 3) and the diffracted ray. By simple geometry, this red vector is perpendicular to the Bragg planes, so it is in the direction of the reciprocal space vector shown above. In the small internal triangles, we can see that the sides corresponding to the two halves of the red vector each have a length of sinθ/λ, which (by Bragg's law) is equal to 1/2d. So the red vector is, in fact, the reciprocal space vector with a length of 1/d. (That is why we chose to give the X-ray vectors a length of 1/λ in the first place.) Such a construction could be made for any set of planes in the diffracting condition, and the corresponding reciprocal space vector would be seen to go from the position of the undeflected direct beam to the tip of the vector representing the diffracted ray. Because all of these reciprocal space vectors start from the same point, the base of the red vector in the figure must define the origin of reciprocal space.
Ewald sphere construction
The angle 2θ can be anything from 0 to 180 degrees (or θ can be anything from 0 to 90 degrees). The diffracted ray can go in any direction in three dimensions, so the vector representing it can have its tip anywhere at the surface of a sphere with a radius of 1/λ. Such a sphere, called the Ewald sphere, is shown in the figure on the right. The diffracted ray has its base at the center of the sphere, so we think of this as the origin of the crystal. But the origin of reciprocal space has to be at the point where the direct beam exits the sphere. We can see from this construction that, if a set of planes is in the diffracting condition, the corresponding reciprocal space vector has to end on the surface of the Ewald sphere. Conversely, if the direct beam does not strike the planes with the correct angle θ, the reciprocal space vector will not be on the surface of the Ewald sphere.
In the Ewald sphere, we have two origins (which can make you uncomfortable until you realise that it is just a geometrical construction that makes the mathematics of diffraction easy to picture). The origin of the crystal is at the center of the Ewald sphere, and the incoming X-rays are diffracted from that crystal. The origin of reciprocal space is at the point where the incoming X-ray beam would exit the Ewald sphere. If we rotate the crystal, we rotate the Bragg planes and so we rotate reciprocal space in the same direction. Since diffraction from a crystal is confined to points on the reciprocal lattice (corresponding to planes that can be specified by integer indices), we can think of rotating the reciprocal lattice when we rotate the crystal. The following figure shows this schematically, illustrating planes of points in the reciprocal lattice. The planes of points in the reciprocal lattice intersect the Ewald sphere to give a circle of points in the diffracting condition. When the planes are aligned perpendicular to the X-ray beam, these circles on the Ewald sphere will project onto circles of spots surrounding the direct beam position but, as we rotate the crystal (and the reciprocal lattice) the circles on the Ewald sphere will be distorted and will project into what are called lunes of spots.
Reciprocal lattice planes and Ewald sphere
In this figure, the left side shows a crystal oriented so that planes in the reciprocal lattice are perpendicular to the X-ray beam. The planes, intersecting circles and sample diffracted beams are shown in a different colour for each plane. When the crystal is rotated, the reciprocal lattice planes rotate as well, as shown on the right. Now a level zero plane (red) has appeared from behind the beam stop.

Diffraction from a real crystal

When we put a crystal into an X-ray beam, some of the Bragg planes will be in the correct orientation to show diffraction, and we will see spots for them. If we rotate the crystal, other sets of planes will come into the correct orientation, and we will see new diffraction spots.
The following still image shows the result of putting a protein crystal into an X-ray beam and oscillating it back and forth by one degree around a horizontal axis. If you click on it, you will download an animated GIF file (2.8Mb) that will show how this diffraction pattern changes as we continue to rotate the crystal in one degree steps for a total of twenty degrees. Notice the lunes that move up the image, becoming a set of concentric circles for a moment.
diffraction pattern

Quantum mechanics and diffraction

As mentioned above, we can get a perfectly useful picture of diffraction by thinking in the classical terms of waves. But it may worry you that diffraction occurs one photon at a time. Very loosely, what happens in the quantum mechanical point of view is that the photon "feels" the environment of the crystal, and it randomly chooses a path with a probability determined by the wave picture we have been considering. The probability that the photon will be scattered in any particular direction is given by the square of the amplitude of the sum of the scattered waves, which we should now consider as the quantum mechanical wave function. This is why, when we measure the intensity of a diffraction spot (which is proportional to the number of photons in that spot), we take the square root as part of determining the amplitude for our electron density calculations.