International
Tables for Crystallography Volume C Mathematical, physical and chemical tables Edited by E. Prince © International Union of Crystallography 2006 
International Tables for Crystallography (2006). Vol. C, ch. 5.2, p. 491
Section 5.2.1.2. Errors and aberrations: general discussion 
The relation between the lattice spacing d, the angle of incidence (Bragg angle) θ, and the wavelength λ is Bragg's law: The lattice spacing d is related to the lattice parameters a, b, c, α, β, γ and the indices of reflection h, k, l. In the simple case of cubic crystals, the relation is where a is the single lattice parameter. The general relation is where a, b, c are the edges of the unit cell, and are the functions of the angles of the unit cell given in Table 5.2.1.1.

Differentiation of (5.2.1.1) shows that the errors in the measurement of d are related to the errors in the measurement of λ and θ by the equation Wavelength and related problems are discussed in Section 5.2.2 and geometrical and other aberration problems in Section 5.2.3.