Field homogeneity of the order of 1 ppm over a volume of several liters is needed in an MRI scanner. High-resolution NMR spectroscopy demands field homogeneity better than 1 ppb within a volume of a few milliliters.