Microanalysis and diffraction on a sub-nanometre scale have become practical in modern TEMs due to the high brightness of field emission sources combined with the short mean free paths associated with both elastic and inelastic scattering of incident electrons by the specimen. However, development of electron diffraction as a quantitative discipline has been limited by the absence of any generalised theory for dynamical inelastic scattering. These problems have been simplified by recent innovations, principally the introduction of spectrometers such as the Gatan imaging filter (GIF) and the Zeiss omega filter, which remove the inelastic electrons, combined with annual improvements in the speed of computer workstations and the availability of solid-state detectors with high resolution, sensitivity and dynamic range.Comparison of experimental data with dynamical calculations imposes stringent requirements on the specimen and the electron optics, even when the inelastic component has been removed. For example, no experimental CBED pattern ever has perfect symmetry, departures from the ideal being attributable to residual strain, thickness averaging, inclined surfaces, incomplete cells and amorphous surface layers.